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:
8fd8155
)
Commit the whole fix, not just the documentation from previous commit.
author
Andrew Garrett
<werdna@users.mediawiki.org>
Tue, 22 Apr 2008 13:03:11 +0000
(13:03 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Tue, 22 Apr 2008 13:03:11 +0000
(13:03 +0000)
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
4f1e9e1
..
b7578ff
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-716,6
+716,10
@@
class Sanitizer {
$attribs[] = "$encAttribute=\"$encValue\"";
}
+
+ if ( !wfRunHooks( 'SanitizerAfterFixTagAttributes', array( $text, $element, &$attribs ) ) ) {
+ return ''; # They want to abort this.
+ }
return count( $attribs ) ? ' ' . implode( ' ', $attribs ) : '';
}