You should use the innerHTML
attribute binding like this:
<div [innerHTML]="text"></div>
Please take a look at the Angular docs for more information.
You should use the innerHTML
attribute binding like this:
<div [innerHTML]="text"></div>
Please take a look at the Angular docs for more information.