* (bug 10334) Replace normal spaces before percent (%) signs with non-breaking spaces
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 26 Jun 2007 08:56:30 +0000 (08:56 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 26 Jun 2007 08:56:30 +0000 (08:56 +0000)
RELEASE-NOTES
includes/Parser.php

index d282786..3a64870 100644 (file)
@@ -210,6 +210,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 10333) Correct date format in Slovenian
 * (bug 10160) Show error message for unknown namespace on Special:Allpages and
   Special:Prefixindex; making forms prettier for RTL wikis.
+* (bug 10334) Replace normal spaces before percent (%) signs with non-breaking
+  spaces
 
 == API changes since 1.10 ==
 
index e4418cd..0f2b8e1 100644 (file)
@@ -308,7 +308,7 @@ class Parser
                $fixtags = array(
                        # french spaces, last one Guillemet-left
                        # only if there is something before the space
-                       '/(.) (?=\\?|:|;|!|\\302\\273)/' => '\\1&nbsp;\\2',
+                       '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1&nbsp;\\2',
                        # french spaces, Guillemet-right
                        '/(\\302\\253) /' => '\\1&nbsp;',
                );