Skip to content

Commit

Permalink
Escape dynamically generated html comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Khan committed Oct 20, 2011
1 parent 7267231 commit c094b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.coffee
Expand Up @@ -118,7 +118,7 @@ exports.compile = (source, hardcoded_locals, options) ->
code.append "<!--#{comment[1]}-->"
else
code.append '<!--'
code.push comment
code.push escape comment
code.append '-->'

return code.get_nodes()
Expand Down

0 comments on commit c094b0d

Please sign in to comment.