Index: trunk/phase3/includes/SpecialSearch.php |
— | — | @@ -392,8 +392,9 @@ |
393 | 393 | if( '' == $name ) { |
394 | 394 | $name = wfMsg( 'blanknamespace' ); |
395 | 395 | } |
| 396 | + $encName = htmlspecialchars( $name ); |
396 | 397 | $namespaces .= " <label><input type='checkbox' value=\"1\" name=\"" . |
397 | | - "ns{$ns}\"{$checked} />{$name}</label>\n"; |
| 398 | + "ns{$ns}\"{$checked} />{$encName}</label>\n"; |
398 | 399 | } |
399 | 400 | |
400 | 401 | $checked = $this->searchRedirects |