I have a REST API with \\n as backslash tags, can angular 6 replace these with tags?
\\n
Here\'s my code:
{{x.deskrips
You don't need a library. Simply set the white-space property of your tag to pre-wrap (or use a tag that should have this style by default)
white-space
pre-wrap
document.querySelector('#formatted').innerText = 'Lorem\nIpsum';
#formatted { white-space: pre-wrap; }
Lorem\nIpsum