Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3515465
section.patch
Harjotsingh (Harjotsingh)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Harjotsingh
Mar 3 2016, 5:46 PM
2016-03-03 17:46:48 (UTC+0)
Size
567 B
Referenced Files
None
Subscribers
None
section.patch
View Options
diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index d65e8be..d9d2db8 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -1301,6 +1301,7 @@ class Parser {
'/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 ',
# french spaces, Guillemet-right
'/(\\302\\253) /' => '\\1 ',
+ '/(§) (.)/' => '§ ',
'/ (!\s*important)/' => ' \\1', # Beware of CSS magic word !important, bug #11874.
];
$text = preg_replace( array_keys( $fixtags ), array_values( $fixtags ), $text );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3454721
Default Alt Text
section.patch (567 B)
Attached To
Mode
T119463: Automatically convert spaces after section markers (§) into non-breaking spaces
Attached
Detach File
Event Timeline
Log In to Comment