I'm looking for a library which I can decode my HTML entities in angular 6
I've tried to find something and I found a function called trustashtml in angular 2, but I don't think so is available for 6 version.
Below you sould find my code in html template :
<div [innerHTML]="post.body | markdown"></div>
My field post api return a native html is something like that :
<p style="margin: 1em 0px; font-size: 18px; line-height: 1.5; font-family: Lato, sans-serif;">Hey Android users! Since launching the Grammarly Keyboard for iOS, we’ve heard from </p>
Any idea?