A platform for community discussion. Free, open, simple.
FIX: Binding style attributes need to be escaped.
Guo Xiang Tana2b9a550365e
diff --git a/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6 b/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6index ce4113450b3..bb6cb51fe8a 100644--- a/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6+++ b/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6@@ -34,7 +34,7 @@ export default Ember.Component.extend({if (flairHexColor) style += `color: #${flairHexColor};`;- return style;+ return Ember.String.htmlSafe(style);},@computed('model.flairBackgroundHexColor')