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) {