Hi Guys,
Wondering what the best way to render text on the page with escaped characters like © is so that it renders as Copyright © 2019
The following works:
<oj-bind-text value="[['Copyright © 2019']]"></oj-bind-text>
This does not work, renders as Copyright © 2019
<oj-bind-text value="[[copyrightNoticeText]]"></oj-bind-text>
self.copyrightNoticeText = ko.observable('Copyright © 2019);
I need it to come from the JS as it's going to be translatable text, so option 1 is not viable.
I have looked at using the <oj-bind-dom> and this doesn't seem to work either, the only way is to use the knockout html binding. Is this the best approach at the moment?
Cheers,
Andy