From: Guy Van den Broeck Date: Wed, 20 Aug 2008 19:19:36 +0000 (+0000) Subject: Escape characters that were unescaped by the parser X-Git-Tag: 1.31.0-rc.0~45761 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=60b87b4ef097150c34d91e2688da8149ff669247;p=lhc%2Fweb%2Fwiklou.git Escape characters that were unescaped by the parser --- diff --git a/includes/HTMLDiff.php b/includes/HTMLDiff.php index 8318debe29..614b86d029 100644 --- a/includes/HTMLDiff.php +++ b/includes/HTMLDiff.php @@ -1714,6 +1714,6 @@ class DelegatingContentHandler { } function characters($chars){ - $this->delegate->addHtml($chars); + $this->delegate->addHtml(htmlspecialchars($chars)); } }