From a2b9a550365ed7a8ac1bdcf8830a291560fc6466 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 6 Apr 2018 14:57:34 +0800 Subject: [PATCH] FIX: Binding style attributes need to be escaped. See http://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes --- .../javascripts/discourse/components/group-flair-inputs.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6 b/app/assets/javascripts/discourse/components/group-flair-inputs.js.es6 index 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')