8a62662e6e
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax * replace ember-i18n with ember-intl
6 lines
180 B
JavaScript
6 lines
180 B
JavaScript
import { helper } from '@ember/component/helper';
|
|
import { htmlSafe } from '@ember/template';
|
|
|
|
export default helper(function markAsSafeHtml([html]) {
|
|
return htmlSafe(html);
|
|
});
|