Thanks so much Sander. Yes! The HTML binding was missing. I guess your memories of AngularJS days are not all bad, because your knowledge persists. Upgrading this app to Angular will take 12+ months. Maybe 30% done so far, so the sunny shores of Angular Land are still in the distance.
On Thursday, November 8, 2018 at 8:51:52 AM UTC+2, Sander Elias wrote: > > Hi Richard, > > It's a while ago since I touched AngularJs, but iirc you have to use the > sanitizer that html is allowed. Also, bind directly to the html of the > element. (create a directive that uses elm.innerHTML to put the strings in) > have a look at this documentation page > <https://docs.angularjs.org/api/ng/directive/ngBindHtml>, it explains > what you need to do. If you are on a lower version, add that directive > yourself. the trustAsHtml > <https://docs.angularjs.org/api/ng/service/$sce#trustAsHtml> is the > important part. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
