From: Niklas Laxström Date: Sat, 8 Jul 2006 13:38:18 +0000 (+0000) Subject: * Added RFC to list of strings to escape X-Git-Tag: 1.31.0-rc.0~56346 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=fa9f340ad0cf83304399c8d20873b76555e1a774;p=lhc%2Fweb%2Fwiklou.git * Added RFC to list of strings to escape --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index e2033486cc..c8a1a605a5 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -867,8 +867,8 @@ function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) { */ function wfEscapeWikiText( $text ) { $text = str_replace( - array( '[', '|', '\'', 'ISBN ' , '://' , "\n=", '{{' ), - array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ), + array( '[', '|', '\'', 'ISBN ', 'RFC ', '://', "\n=", '{{' ), + array( '[', '|', ''', 'ISBN ', 'RFC ', '://', "\n=", '{{' ), htmlspecialchars($text) ); return $text; }