Function
htmlSafe Handlebars.SafeString public
Module:
ember
Defined in packages/ember-glimmer/lib/utils/string.js:76
- returns
- Handlebars.SafeString
- A string that will not be HTML escaped by Handlebars.
Mark a string as safe for unescaped output with Ember templates. If you return HTML from a helper, use this function to ensure Ember's rendering layer does not escape the HTML.
1 |
Ember.String.htmlSafe('<div>someString</div>') |