fixes #636, conditionals broken from f1ad469861

v1.18.x
psychobunny 11 years ago
parent 2a5d6e04fc
commit 24b12e23ea

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

Loading…
Cancel
Save