Where is `Ember.Handlebars.Utils.escapeExpression` in the @ember module system?
See original GitHub issueSimilar to the last comment in #9874, how does one access Ember.Handlebars.Utils.escapeExpression in a modern way, without importing all of ember? I need to escape HTML in my app (because I am decorating some user-input with markup) before marking it as htmlSafe() and can’t find any way of doing so without writing my own escaping function or importing some kind of addon.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:21 (15 by maintainers)
Top Results From Across the Web
Accessing Ember.Handlebars.Utils.escapeExpression with ...
As of right now the Handlebars.Utils.escapeExpression function is not yet exported by the New Module Imports (aka. RFC 176).
Read more >How does one access Ember.Handlebars.Utils ... - Medium
I get the following error:. “How does one access Ember.Handlebars.Utils.escapeExpression” is published by Brad Collins.
Read more >Ember.Handlebars - 1.0 - Ember API Documentation
Prepares the Handlebars templating library for use inside Ember's view system. The Ember.Handlebars object is the standard Handlebars library, ...
Read more >(PDF) Ember.js Guides The guide for building Ambitious Web ...
Handlebars.helper('highlight', function(value, options) { 2 var escaped = Handlebars.Utils.escapeExpression(value); 3 return new Ember.Handlebars.
Read more >Accessing Ember.Handlebars.Utils.escapeExpression with ...
Handlebars.Utils.escapeExpression with new import syntax-ember.js. ... Utils.escapeExpression function is not yet exported by the New Module Imports (aka.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We need this.
Right now you need to either/or:
@rwjblue said:
What about now? Something possible that I should know about?
Is there a resolution on this? It feels like a quintessential util for people who need to process text.