I have the following front code:
<p>{{ news.content }}</p>
news.content
is stored in my firebase DB.
How can I render a new line in this text interpolation without modifying my front code (nor HTML nor CSS)? I will eventually change my front code if needed but I need I quick backend fix because my app is in prod and I cannot not provide an update within the day...
So I tried \n
, <br />
and
but none is working...
When I inspect the view, HTML is as follows:
<p>"my text"</p>
So I guess the pain point comes from the double quotes...
Just for you to know, I need this to work on the iOS build.