dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a912b8
)
Followup r94465; Don't use empty.
author
Daniel Friesen
<dantman@users.mediawiki.org>
Sun, 25 Sep 2011 02:24:47 +0000
(
02:24
+0000)
committer
Daniel Friesen
<dantman@users.mediawiki.org>
Sun, 25 Sep 2011 02:24:47 +0000
(
02:24
+0000)
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
227fa7c
..
83cd5fd
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-674,7
+674,7
@@
class Sanitizer {
unset( $attribs[$attribute] );
}
- if (
!empty($style)
) {
+ if (
$style
) {
// Prepend our style rules so that they can be overridden by user css
if ( isset($attribs['style']) ) {
$style .= " " . $attribs['style'];