Skip Menu |

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

Report information
The Basics
Id: 38189
Status: resolved
Priority: 0/
Queue: HTML-Template

People
Owner: Nobody in particular
Requestors: khamidoulline [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: <tmpl_var name="xxx"/> as clean xml
not worked for xml-canonized form template: <tmpl_var name="xxx"/> ^ - this --- Thanks for your mind and hand :)
From: allard [...] byte.nl
Hi, I've been fixing a few bugs myself. Please find the fixed sources for HTML::Template at http://gitweb.byte.nl/git/html-template.git . This wishlist item is included in the sources. Please use the 'byte' branch. I'll be compiling Debian packages in a few days, so check back there if you want to use them as well. Regards, Allard diff --git a/Template.pm b/Template.pm index c96e185..3d2b005 100644 --- a/Template.pm +++ b/Template.pm @@ -1995,7 +1995,7 @@ sub _parse { \s* - (?:--)?> + (?:--)?\/?> # Do not end in an SGML comment and allow ending in an XML-canonized form template (.*) # $19 => $post - text that comes after the tag $/sx) {
This is a great idea and it will appear in the upcoming 2.10 release soon. Thanks