diff --git a/includes/TimelessTemplate.php b/includes/TimelessTemplate.php index b9e57ba..eb38142 100644 --- a/includes/TimelessTemplate.php +++ b/includes/TimelessTemplate.php @@ -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' ]