If I have a variable named test
and inside it I had html content like
var test = "<div class='testingbot'>
<span>TITLE</span>
<div>";
When I use the above it crashes the page, but if I do it all as one line it works
var test = "<div class='testingbot'><span>TITLE</span><div>";
How would I be able to print with line breaks?
Thanks