jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  CSteipp: Looks good to me, but someone else must approve
  Werdna: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I5d4631870f916194901f897839cad4c90c2d8d01
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Popups
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
Gerrit-Reviewer: CSteipp <[email protected]>
Gerrit-Reviewer: Werdna <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to