Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixed bug #23028: html handling
  • Loading branch information
alex40724 committed May 11, 2018
1 parent 01a24cf commit 7959485
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Services/COPage/classes/class.ilPCSourceCode.php
Expand Up @@ -81,7 +81,10 @@ function modifyPageContentPostXsl($a_output, $outputmode = "presentation")
$content = str_replace("<br/>", "\n", $content);
$rownums = count(explode("\n",$content));

$plain_content = html_entity_decode($content);
// see #23028
//$plain_content = html_entity_decode($content);
$plain_content = $content;

$plain_content = preg_replace_callback(
"/\&#x([1-9a-f]{2});?/is",
function($hit) {
Expand Down

0 comments on commit 7959485

Please sign in to comment.