Subject: | Position of ESCAPE changes behavior |
The two otherwise identical TMPL elements:
<!-- TMPL_VAR NAME="rowtitle_display" DEFAULT="UNKNOWN VALUE"
ESCAPE="HTML" -->
and
<!-- TMPL_VAR ESCAPE="HTML" NAME="rowtitle_display" DEFAULT="UNKNOWN
VALUE" -->
will produce differing output based on the position of the ESCAPE
attribute. For example:
2007-12-06ESCAPE="HTML" -->
or:
2007-12-06
respectively. Obviously the latter is correct. This appears to be and
interaction with the parsing of the DEFAULT attribute. If DEFAULT is
removed both statements behave identically.