I’ve some content that’s coming from the json file which has html tags in it. While there is trustAsHTML in javascript and ng-html-bind in Ionic1 but nothing in Ionic2. InnerHTML works for small strings and simplier tags embedded into the string but my string is large and has a lot of html tags which it can’t bind as html. Is there any solution for this
If so, it probably comes from Angular. Searching for an Angular solution is probably easier.
ng-html-bind
was deliberately left out of Angular 2, and I figure that the Angular folks are a lot more knowledgeable about their framework than I am, so I decided to respect that decision and stop looking for ways to circumvent it.
The general strategy I use to approach tasks like this is described here.
Thanks, a lot. Will surely try it