diff --git a/app/initializers/ember-i18n-cp-validations.js b/app/initializers/ember-i18n-cp-validations.js index d7fe5b3..f88bd6f 100644 --- a/app/initializers/ember-i18n-cp-validations.js +++ b/app/initializers/ember-i18n-cp-validations.js @@ -16,7 +16,7 @@ const { } = Ember; function isSafeString(input) { - return (typeof isHTMLSafe === 'function' && isHTMLSafe(input)) || (input instanceof Handlebars.SafeString); + return typeof isHTMLSafe === 'function' ? isHTMLSafe(input) : input instanceof Handlebars.SafeString; } function unwrap(input) {