From: Brion Vibber Date: Wed, 21 Jun 2006 23:13:05 +0000 (+0000) Subject: * (bug 6398) Work around apparent PCRE bug breaking section editing when massively... X-Git-Tag: 1.31.0-rc.0~56699 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c86110d64557405234f4548a8b58a3323dfb6cd3;p=lhc%2Fweb%2Fwiklou.git * (bug 6398) Work around apparent PCRE bug breaking section editing when massively-indented preformatted text immediately followed a header --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 998086f18a..90a182b5a1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -532,6 +532,9 @@ Some default configuration options have changed: * (bug 6351) Update to German translation (de) * Respect language directionality when displaying arrow in Special:Brokenredirects * Remove unused "validation" table definitions from the schema files +* (bug 6398) Work around apparent PCRE bug breaking section editing when + massively-indented preformatted text immediately followed a header + == Compatibility == diff --git a/includes/Parser.php b/includes/Parser.php index bf7e24a847..37832a9f0b 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4327,7 +4327,7 @@ class Parser (=+) # Should this be limited to 6? .+? # Section title... \\2 # Ending = count must match start - (?:$comment|<\/?noinclude>|\s+)* # Trailing whitespace ok + (?:$comment|<\/?noinclude>|[ \\t]+)* # Trailing whitespace ok $ |