romulomachado / ember-cli-string-helpers

Set of the String helpers extracted from DockYard's ember-composable-helpers.
Other
73 stars 30 forks source link

Import htmlSafe from @ember/template (old location is deprecated) #304

Closed urbany closed 3 years ago

urbany commented 3 years ago

DEPRECATION: Importing htmlSafe from '@ember/string' is deprecated. Please import htmlSafe from '@ember/template' instead. [deprecation id: ember-string.htmlsafe-ishtmlsafe] See https://deprecations.emberjs.com/v3.x/#toc_ember-string-htmlsafe-ishtmlsafe for more details.

Closes #303

boris-petrov commented 3 years ago

@urbany - I believe you've missed a few places. Also, note that isHTMLSafe should also be changed in addition to htmlSafe.

romulomachado commented 3 years ago

Closing this with #327 being merged. As @boris-petrov pointed out, there were some missing replaces.