mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Binding style attributes need to be escaped.
See http://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes
This commit is contained in:
parent
cf19982fca
commit
a2b9a55036
@ -34,7 +34,7 @@ export default Ember.Component.extend({
|
||||
|
||||
if (flairHexColor) style += `color: #${flairHexColor};`;
|
||||
|
||||
return style;
|
||||
return Ember.String.htmlSafe(style);
|
||||
},
|
||||
|
||||
@computed('model.flairBackgroundHexColor')
|
||||
|
Loading…
Reference in New Issue
Block a user