Made suppress link bold
[lhc/web/wiklou.git] / includes / Sanitizer.php
index a315ed4..5d58b03 100644 (file)
@@ -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.