Menu

#182 template parser removes text() calls

open
cchost (129)
5
2009-05-13
2009-05-13
No

a non printing macro followed directly by a printing one will eliminate the printing one:

%if_null(var)%
%text(str_by)%
%end_if%

workaround is to put html comment after %if

%if_null(var)%<!-- -->
%text(str_by)%
%end_if%

Discussion


Log in to post a comment.

MongoDB Logo MongoDB