From 01240e5eb484c6a9365400299b0d8fbaf8ec1ee8 Mon Sep 17 00:00:00 2001 From: Liangent Date: Thu, 5 Sep 2013 19:21:11 +0000 Subject: [PATCH] Add plain semicolons to wfEscapeWikitext(). It's a part of language conversion syntax, even when not used at beginning of lines. Change-Id: I848b6d13096887d51618f2694da93b6d65c0376e --- includes/GlobalFunctions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 9a7f62b70c..e65963c1e7 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2015,11 +2015,10 @@ function wfEscapeWikiText( $text ) { $repl = array( '"' => '"', '&' => '&', "'" => ''', '<' => '<', '=' => '=', '>' => '>', '[' => '[', ']' => ']', - '{' => '{', '|' => '|', '}' => '}', + '{' => '{', '|' => '|', '}' => '}', ';' => ';', "\n#" => "\n#", "\r#" => "\r#", "\n*" => "\n*", "\r*" => "\r*", "\n:" => "\n:", "\r:" => "\r:", - "\n;" => "\n;", "\r;" => "\r;", "\n " => "\n ", "\r " => "\r ", '__' => '__', '://' => '://', ); -- 2.20.1