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:
b7dfb40
)
Followup r91833 -- use Sanitizer::escapeId's 'noninitial' option when generating...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 12 Jul 2011 00:25:20 +0000
(
00:25
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 12 Jul 2011 00:25:20 +0000
(
00:25
+0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
639d8d4
..
20ba348
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-1336,7
+1336,7
@@
abstract class Skin {
$bar[$heading][] = array_merge( array(
'text' => $text,
'href' => $href,
- 'id' => 'n-' . Sanitizer::escapeId( strtr( $line[1], ' ', '-' ) ),
+ 'id' => 'n-' . Sanitizer::escapeId( strtr( $line[1], ' ', '-' )
, 'noninitial'
),
'active' => false
), $extraAttribs );
} elseif ( ( substr( $line, 0, 2 ) == '{{' ) && ( substr( $line, -2 ) == '}}' ) ) {