I'd like to print a string with newline characters with ejs.
I have this ejs file:
<div class="result">
<%=names%>
</div>
If the string "names" is "line 1</br>line 2" it will print it literally:
line 1</br>line 2
But I'd like this:
line 1
line 2
What is the best way of getting ejs to correctly interpret newline characters?