Skip Menu |

This queue is for tickets about the HTML-Template CPAN distribution.

Report information
The Basics
Id: 38620
Status: rejected
Priority: 0/
Queue: HTML-Template

Owner: Nobody in particular
Requestors: ohiocore [...]

Bug Information
Severity: Normal
Broken in: 2.9
Fixed in: (no value)

Subject: Position of ESCAPE changes behavior
Download (untitled) / with headers
text/plain 542b
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.
Download (untitled) / with headers
text/plain 453b
I've tried to trigger this error in lots of different ways and I can't seem to do it. I've even added more tests to the distribution to see if I could trigger it: (look at the last group of tests) Am I missing something? If you can provide an actual template file that fails (if it can fit into the t/04-escape.t test that would be even better) then I'll reopen this bug and fix it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to