diff options
Diffstat (limited to 'includes/specialpage/ChangesListSpecialPage.php')
-rw-r--r-- | includes/specialpage/ChangesListSpecialPage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index b9132358..23bd394c 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -434,7 +434,8 @@ abstract class ChangesListSpecialPage extends SpecialPage { $legend .= Html::element( 'dt', array( 'class' => $cssClass ), $context->msg( $letter )->text() ) . "\n" . - Html::rawElement( 'dd', array(), + Html::rawElement( 'dd', + array( 'class' => Sanitizer::escapeClass( 'mw-changeslist-legend-' . $key ) ), $context->msg( $label )->parse() ) . "\n"; } |