I am facing an issue where line breaks are not appearing when I display a string containing them. The text is all being placed next to each other, without the expected line breaks. I have tried using "\n"
and also used
<pre>
but unfortunately, it did not solve my problem. Here is the string:
this.zorgdomein = ('some text \n some text');
and then in the HTML code, I simply use
{{this.zorgdomein}}
The current result looks like this:
some text some text
However, I am expecting the result to be:
some text
some text