This is for security purposes, if the styles are not escaped it could open up vulnerability to CSS injection attacks. There is a utility called htmlsafe
that you can use to escape the styles properly. You could make a computed property that computes the style
attribute or you could probably write a custom helper that wraps your style string (or I think ember-cli-string-helpers has one already).