Created
April 9, 2021 17:43
-
-
Save ciencia/8b7c464ba0c9b53bb5ddc915d4e771e2 to your computer and use it in GitHub Desktop.
patch MediaWiki core 1.34 T278058 escape message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js b/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
index 5d45d18..ba7b920 100644 | |
--- a/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
+++ b/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
@@ -94,7 +94,7 @@ | |
).contents() ); | |
} else { | |
this.setLabel( | |
- $( '<bdi>' ).append( | |
+ $( '<bdi>' ).text( | |
this.itemModel.getLabel() | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment