From 1258d8bd59ac7a3eb270666289a6bef2d52fe018 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 26 Jun 2007 08:56:30 +0000 Subject: [PATCH] * (bug 10334) Replace normal spaces before percent (%) signs with non-breaking spaces --- RELEASE-NOTES | 2 ++ includes/Parser.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d282786630..3a64870691 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/Parser.php b/includes/Parser.php index e4418cd51c..0f2b8e1e27 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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 \\2', + '/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2', # french spaces, Guillemet-right '/(\\302\\253) /' => '\\1 ', ); -- 2.20.1