htmlentities() to s()
This commit is contained in:
@@ -1726,7 +1726,7 @@
|
||||
}
|
||||
|
||||
if ($result != $content && $CFG->debug>7) { //Debug
|
||||
echo '<br /><hr />'.htmlentities($content).'<br />changed to<br />'.htmlentities($result).'<hr /><br />'; //Debug
|
||||
echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />'; //Debug
|
||||
} //Debug
|
||||
|
||||
return $result;
|
||||
|
||||
@@ -2261,7 +2261,7 @@
|
||||
|
||||
if ($result != $content && $CFG->debug>7) { //Debug
|
||||
if (!defined('RESTORE_SILENTLY')) {
|
||||
echo '<br /><hr />'.htmlentities($content).'<br />changed to<br />'.htmlentities($result).'<hr /><br />'; //Debug
|
||||
echo '<br /><hr />'.s($content).'<br />changed to<br />'.s($result).'<hr /><br />'; //Debug
|
||||
}
|
||||
} //Debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user