I've discovered that in certain situations, a single quote (') acts like a
comment. For instance (from an underscore/Backbone template) in

<input value="<%= model.get('value') %>" />

the first single quote highlights everything as a comment until the closing
"%>". Swapping the single and double quotes corrects the problem: 

<input value='<%= model.get("value") %>' />

This is only a minor annoyance, but you get to something like a split "if"
block: 

<% if (classModel.get('classFull') === false) { %> 

the opening curly bracket is "commented" out, making finding the closing curly
bracket by highlighting impossible.

There's an easy workaround (don't nest a single quote inside a double quote),
but I thought you might want to be aware of it.

-- 
<http://forum.pspad.com/read.php?4,65476,65476>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem