Skip to content

Add htmlSafe and isHTMLSafe exported methods. These will error when called, telling the user to import from @ember/template.#367

Merged
kategengler merged 1 commit intoemberjs:masterfrom
kategengler:kg-htmlsafe
Jan 3, 2023
Merged

Add htmlSafe and isHTMLSafe exported methods. These will error when called, telling the user to import from @ember/template.#367
kategengler merged 1 commit intoemberjs:masterfrom
kategengler:kg-htmlsafe

Conversation

@kategengler
Copy link
Member

When this addon is added to a project it clobbers the internal to ember-source @ember/string and thus deprecations thrown by the implementation there. Adding these courtesy exceptions will help users understand how to change their code when adding this addon.

called, telling the user to import from `@ember/template`.

When this addon is added to a project it clobbers the internal to
ember-source `@ember/string` and thus deprecations thrown by the
implementation there. Adding these courtesy exceptions will help users
understand how to change their code when adding this addon.
@kategengler kategengler merged commit e561fdd into emberjs:master Jan 3, 2023
@kategengler kategengler deleted the kg-htmlsafe branch January 3, 2023 22:57
@kategengler kategengler added the bug label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants