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:
7bd6374
)
Sanitize class names applied by change tagging -- was not anticipating multi-word...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 1 May 2009 12:55:29 +0000
(12:55 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 1 May 2009 12:55:29 +0000
(12:55 +0000)
includes/ChangeTags.php
patch
|
blob
|
history
diff --git
a/includes/ChangeTags.php
b/includes/ChangeTags.php
index
de804c5
..
2f96710
100644
(file)
--- a/
includes/ChangeTags.php
+++ b/
includes/ChangeTags.php
@@
-14,7
+14,7
@@
class ChangeTags {
$displayTags = array();
foreach( $tags as $tag ) {
$displayTags[] = self::tagDescription( $tag );
- $classes[] =
"mw-tag-$tag"
;
+ $classes[] =
Sanitizer::escapeClass( "mw-tag-$tag" )
;
}
return array( '(' . implode( ', ', $displayTags ) . ')', $classes );