FIX: correctly print html entity when used in a locale for none

This commit is contained in:
Joffrey JAFFEUX 2017-12-05 19:09:12 -05:00 committed by GitHub
parent 5f318a5241
commit 75463e5a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -193,7 +193,9 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
switch (typeof none) {
case "string":
return this.computeContentItem(this.noneValue, { name: I18n.t(none) });
return this.computeContentItem(this.noneValue, {
name: I18n.t(none).htmlSafe()
});
default:
return this.computeContentItem(none);
}