Tags inside quote marks

If I have some HTML

<div>
   Test "<means is less than" 

</div>

And do autoformat for HTML it splits the middle string to give this 

 

<div>
Test "
<means is less than
"
</div>

Is there an option to switch off this behaviour where a "< triggers linebreaks for HTML files?
1 comment
Comment actions Permalink

Hello, Colin,

sorry for the delay. A less-than sign is a reserved character in HTML (http://www.w3schools.com/html/html_entities.asp) so you need to replace it with a character entity $lt;

 

0

Please sign in to leave a comment.