From 60b87b4ef097150c34d91e2688da8149ff669247 Mon Sep 17 00:00:00 2001 From: Guy Van den Broeck Date: Wed, 20 Aug 2008 19:19:36 +0000 Subject: [PATCH] Escape characters that were unescaped by the parser --- includes/HTMLDiff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.20.1