dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made suppress link bold
[lhc/web/wiklou.git]
/
includes
/
Sanitizer.php
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
a315ed4
..
5d58b03
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-616,7
+616,7
@@
class Sanitizer {
if ( $attribute === 'id' ) {
global $wgEnforceHtmlIds;
$value = Sanitizer::escapeId( $value,
- $wgEnforceHtmlIds ?
array()
: 'xml' );
+ $wgEnforceHtmlIds ?
'noninitial'
: 'xml' );
}
// If this attribute was previously set, override it.