fixes #636, conditionals broken from f1ad469861

This commit is contained in:
psychobunny
2013-12-08 10:31:18 -05:00
parent 2a5d6e04fc
commit 24b12e23ea

View File

@@ -355,7 +355,7 @@
}
// clean up all undefined conditionals
template = template.replace(/<!-- IF([\s\S]*?)ENDIF([\s\S]*?)-->/gi, '');
template = template.replace(/<!-- IF([^@]*?)ENDIF([^@]*?)-->/gi, '');
return template;