From: Gabriel Wicke Date: Wed, 26 May 2004 21:58:03 +0000 (+0000) Subject: french space fix X-Git-Tag: 1.5.0alpha1~3196 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=f37a24d4876ab989dbe451e933c2cf5cf16b130a;p=lhc%2Fweb%2Fwiklou.git french space fix --- diff --git a/includes/Parser.php b/includes/Parser.php index 283fc6f6da..f316fb2b04 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -106,9 +106,9 @@ class Parser if(!$wgUseTidy) { $fixtags = array( # french spaces, last one Guillemet-left - "/ (\\?|:|!|\\302\\273)/i"=>' \\1', + "/ (\\?|:|!|\\302\\273)/i"=>" \\1", # french spaces, Guillemet-right - "/\\302\\253 /i"=>'\\302\\253 ', + "/(\\302\\253) /i"=>"\\1 ", "/
/i" => '
', "/
/i" => '
', "/
/i"=>'
', @@ -121,9 +121,9 @@ class Parser } else { $fixtags = array( # french spaces, last one Guillemet-left - "/ (\\?|:|!|\\302\\273)/i"=>' \\1', + "/ (\\?|:|!|\\302\\273)/i"=>" \\1", # french spaces, Guillemet-right - "/\\302\\253 /i"=>'\\302\\253 ', + "/(\\302\\253) /i"=>"\\1 ", "/
/i"=>'
', "/<\\/center *>/i" => '
' );