Html sanitizer for ionic 2


#1

i am importing data from json file which is having some html tags. But html tags are not wokring they are interpreted as normal string.
can anyone suggest how to make these HTML tags work ?
please help

i am using <span [innerHtml]= {{ "HOME.TITLE" | translate }}> </span>


#2

Ionic 2 is based on Angular 2, so have a look at Sanitization and security contexts in the Angular docs.