I had problems figuring how to import SafeString. Googling led me to
Deprecate ‘Ember.Handlebars.SafeString’
Currently (as of 5/1/19 anyway), you import htmlSafe this way:
import { htmlSafe } from '@ember/template';
and call it this way:
return htmlSafe ( '<span class="text-primary">' + formatted + '</span>' );
With these changes, everything seems to work!