Similar to JavaScript, TypeScript also uses either double quotes (") or single quotes (') to enclose string data. I have data coming from the backend that includes HTML content.
Here is an example of my API response: <p>afjhjhfsd</p>
When I display this data in an angular 4 view using {{response}}, and I check in the Chrome browser, it appears as:
"<p>afjhjhfsd</p>"
As a result, the paragraph tag is also displayed on the angular 4 view. Can someone please assist in resolving this issue?