fix template compiler dealing with html comments

This commit is contained in:
Avital Oliver
2013-09-18 19:46:16 -07:00
parent 4b30756de9
commit b0a9278566

View File

@@ -903,7 +903,8 @@ Spacebars.compile = function (inputString, options) {
renderableString('<!--');
renderables.push('Spacebars.escapeHtmlComment(' +
interpolate(t.name, funcInfo,
INTERPOLATE_COMMENT));
INTERPOLATE_COMMENT) +
')');
renderableString('-->');
break;
case 'DocType':