As title, I think htmlSafe should be imported from ember/string instead of ember/template according to https://emberjs.com/api/ember/release/modules/@ember%2Fstring