Skip to content

Commit

Permalink
add htmlspecialchars for wikitext label back in after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nobbyfix committed Jan 25, 2025
1 parent 24227a4 commit d7f5ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Tabber.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private static function getTabData( string $tab, int $count, Parser $parser, PPF
// plain text label has already been passed through 'htmlspecialchars' in 'convertHtml' of 'getTabLabel'
$id = Sanitizer::escapeIdForAttribute( $label );
} else {
$id = Sanitizer::escapeIdForAttribute( $label );
$id = Sanitizer::escapeIdForAttribute( htmlspecialchars( $label ) );
}

if ( self::$useLegacyId === true ) {
Expand Down

0 comments on commit d7f5ca0

Please sign in to comment.