Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1330,7 +1330,7 @@ |
1331 | 1331 | $bar[$heading][] = array_merge( array( |
1332 | 1332 | 'text' => $text, |
1333 | 1333 | 'href' => $href, |
1334 | | - 'id' => 'n-' . strtr( $line[1], ' ', '-' ), |
| 1334 | + 'id' => 'n-' . Sanitizer::escapeId( strtr( $line[1], ' ', '-' ) ), |
1335 | 1335 | 'active' => false |
1336 | 1336 | ), $extraAttribs ); |
1337 | 1337 | } elseif ( ( substr( $line, 0, 2 ) == '{{' ) && ( substr( $line, -2 ) == '}}' ) ) { |