Prtksxna has uploaded a new change for review. https://gerrit.wikimedia.org/r/199210
Change subject: settings: Use .text() instead of .html() for option's label ...................................................................... settings: Use .text() instead of .html() for option's label Bug: T88171 Change-Id: I5d4631870f916194901f897839cad4c90c2d8d01 --- M resources/ext.popups.settings.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups refs/changes/10/199210/1 diff --git a/resources/ext.popups.settings.js b/resources/ext.popups.settings.js index 636d9f0..7759e6f 100644 --- a/resources/ext.popups.settings.js +++ b/resources/ext.popups.settings.js @@ -116,7 +116,7 @@ } ), $label = $( '<label>' ) .attr( 'for', domId ) - .html( content[ 1 ] ) + .text( content[ 1 ] ) .prepend( $( '<span>' ).text( content[ 0 ] ) ), $p = $( '<p>' ).append( $input, $label ); -- To view, visit https://gerrit.wikimedia.org/r/199210 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5d4631870f916194901f897839cad4c90c2d8d01 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Popups Gerrit-Branch: master Gerrit-Owner: Prtksxna <psax...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits