Closed henrahmagix closed 11 years ago
This is in relation to #14, and since this handlebars doc (thanks @daaain) says expressions can't be commented as they'll leave a trailing }}
in the HTML, this is redundant and in fact rather helpful!
(Also ignore the bad code in the example: I hadn't realised then that you can't do regular Javascript inside in {{#if}}
)
The highlighter assumes a comment is closed as soon as it meets
}}
, ignoring any opening{{
within the comment.