Details
Description
#if(...) #end works but #if(...)#end
Stacktrace:
org.apache.velocity.exception.ParseErrorException: Encountered "#en
d\n" at line 61, column 44.
Was expecting one of:
"(" ...
<RPAREN> ...
<ESCAPE_DIRECTIVE> ...
<SET_DIRECTIVE> ...
"\\\\" ...
"
" ...
<TEXT> ...
<SINGLE_LINE_COMMENT> ...
"*#" ...
"*#" ...
<STRING_LITERAL> ...
"if" ...
"stop" ...
<NUMBER_LITERAL> ...
<WORD> ...
<DOT> ...
"
" ...
<IDENTIFIER> ...
If you wonder why we write such stupid statements: We use velocity inside a CMS
where it is possible to leave texts blank inside an #if-block.