[svn r21761] eliminates the double brackets in the exported wiki pages

skala
Juan Carlos Raña 16 years ago
parent 95a1104713
commit e8e9b3cad1
  1. 4
      main/wiki/index.php

@ -2644,11 +2644,11 @@ function display_wiki_entry()
echo '<span style="float:right">';
echo '<form name="form_export2PDF" method="post" action="export_html2pdf.php" target="_blank, fullscreen">'; // also with export_tcpdf.php
echo '<input type=hidden name="titlePDF" value="'.api_htmlentities($title, ENT_QUOTES, $charset).'">';
echo '<input type=hidden name="contentPDF" value="'.api_htmlentities($content, ENT_QUOTES, $charset).'">';
echo '<input type=hidden name="contentPDF" value="'.api_htmlentities(trim(preg_replace("/\[\[|\]\]/", " ", $content)), ENT_QUOTES, $charset).'">';
echo '<input type="image" src="../img/wiki/wexport2pdf.gif" border ="0" title="'.get_lang('ExportToPDF').'" alt="'.get_lang('ExportToPDF').'" style=" border:none;">';
echo '</form>';
echo '</span>';
//page action: copy last version to doc area
if(api_is_allowed_to_edit() || api_is_platform_admin())
{

Loading…
Cancel
Save