I am having problems with javascript not allowing my to use whitespace so I'm having to squash all the code making it hard to read.
Sample A: - Working:
output += '<li><a href="#">test here</a><li>';
Sample B: - Not Working:
output += '<li>
<a href="#">test here</a>
</li>';
Is there a way where I could get the above for work without having to first squash it all together?