I have a JSON response from the server, in this data I have a "return line" in the text.
{text: "I am in the first line ↵ and I am in the second line"}
But when I display this in the html, there is no "return line" displayed.
"I am in the first line and I am in the second line"
Instead of:
I am in the first line
and I am in the second line
Any solutions using HTML or CSS (maybe JavaScript)?
Thank you !
` in if you want the "return" to take effect in the rendered markup. – jonrsharpe Mar 05 '18 at 19:27
` tag). – blurfus Mar 05 '18 at 19:30