Follow-up 688fff1: Fix the other use of Sanitizer::escapeId()

Change-Id: I964f83ce88fb9c66a7c59037c6066f4567bcf4c9
isekai
James D. Forrester 5 years ago
parent 688fff1a3e
commit cf3a511071

@ -348,7 +348,7 @@ class TimelessTemplate extends BaseTemplate {
$html .= Html::openElement(
'div',
[
'id' => Sanitizer::escapeId( $id ),
'id' => Sanitizer::escapeIdForAttribute( $id ),
'class' => 'mw-portlet',
'role' => 'banner'
]

Loading…
Cancel
Save