Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4539
11874.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:00 PM
2014-11-21 22:00:08 (UTC+0)
Size
482 B
Referenced Files
None
Subscribers
None
11874.diff
View Options
Index: Parser.php
===================================================================
--- Parser.php (révision 32372)
+++ Parser.php (copie de travail)
@@ -318,6 +318,7 @@
'/(.) (?=\\?|:|;|!|%|\\302\\273)/' => '\\1 \\2',
# french spaces, Guillemet-right
'/(\\302\\253) /' => '\\1 ',
+ '/ (!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
4104
Default Alt Text
11874.diff (482 B)
Attached To
Mode
T13874: Enforced   breaks inline CSS with !important
Attached
Detach File
Event Timeline
Log In to Comment