I\'m trying to create an Angular2 custom pipe that outputs raw html. I want it to simply convert newlines in the input into HTML line breaks. How do I output raw HTML from a
What about:
{{text}}
Or for html:
I often use the HTML pre element that represents preformatted text.
Another trick I often use to format Json is:
{{jsonString | json}}