From: Erik Moeller Date: Mon, 30 Jun 2003 02:33:30 +0000 (+0000) Subject: escape anchor names X-Git-Tag: 1.1.0~471 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=517079cce141f4c8d5d584f1337cc7a29c4a5fc1;p=lhc%2Fweb%2Fwiklou.git escape anchor names --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 0db1eadf2a..edda205224 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1255,6 +1255,7 @@ class OutputPage { $canonized_headline=preg_replace("/<.*?>/","",$headline); // strip out HTML + $canonized_headline=htmlspecialchars($canonized_headline); $tocline=$canonized_headline; $canonized_headline=str_replace(" ","_",trim($canonized_headline)); $refer[$c]=$canonized_headline;