From 8e062ead6440e298ac78896c80f1c96fb2d96828 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 4 Aug 2011 22:20:52 +0000 Subject: [PATCH] * (bug 17119) class Parser: senseless use of non-existing regexp back reference Patch made by Dan Collins,, based on text placed by "seth" --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 84cfdafbf2..56c03682dc 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -347,7 +347,7 @@ class Parser { $fixtags = array( # french spaces, last one Guillemet-left # only if there is something before the space - '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2', + '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 ', # french spaces, Guillemet-right '/(\\302\\253) /' => '\\1 ', '/ (!\s*important)/' => ' \\1', # Beware of CSS magic word !important, bug #11874. -- 2.20.1