I've this...
const htmlVar = "<html>
<div style="display:flex">
<div>
<h1>Hello World</h1>
</div>
</div>
";
and on my html I've this..
<div [innerHtml]="htmlVar"></div>
It's render everything, but the style :(
I attempted the solution of this link: style not working for innerhtml in Angular 2 Typescript
but it's not working. Maybe because it's too old.
Any clue ?