I’d like to print a string with newline characters with ejs.
I have this ejs file:
1.
If the string “names” is “line 1line 2” I get this:
line 1line 2
But I’d like this:
line 1
line 2
What is the best way of getting ejs to correctly interpret newline characters?