Index: trunk/phase3/includes/ChangeTags.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | $displayTags = array(); |
16 | 16 | foreach( $tags as $tag ) { |
17 | 17 | $displayTags[] = self::tagDescription( $tag ); |
18 | | - $classes[] = "mw-tag-$tag"; |
| 18 | + $classes[] = Sanitizer::escapeClass( "mw-tag-$tag" ); |
19 | 19 | } |
20 | 20 | |
21 | 21 | return array( '(' . implode( ', ', $displayTags ) . ')', $classes ); |