I\'m trying to return a unicode character from a computed property, but the &
keeps getting escaped as &
.
I\'ve even tried returni
I just created a simple jsbin: http://jsbin.com/izurix/5/edit
Basically doing this does not return any &
for me:
App.ApplicationController = Ember.ObjectController.extend({
value: "",
someValue: function() {
return new Handlebars.SafeString(this.get('value'));
}.property('value')
});
Furthermore if you don't want that handlebars escapes your string you should use triple-slash {{{someValue}}}
.
Hope it helps.