[Petal] BUG: omit-tag does not work properly in XHTML output mode

Kurt Stephens kstep at pepsdesign.com
Sat Jan 25 14:43:50 GMT 2003


Hi All,

I found a bug in Petal-0.81 using the omit-tag attribute when $Petal::OUTPUT
= 'XHTML'.  Petal erroneously adds an end tag corresponding to the omitted
element.  I have attached files demonstrating this case.  I have not yet had
a chance to track down the offending code, but will try to do so if I get
the chance.  I suspect that it's probably somewhere in
Petal::Canonicalizer::XHTML.

Best Regards,

Kurt Stephens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xhtml_omit_tag.pl
Type: application/octet-stream
Size: 303 bytes
Desc: not available
Url : http://lists.webarch.co.uk/pipermail/petal/attachments/20030125/0200f796/xhtml_omit_tag.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webarch.co.uk/pipermail/petal/attachments/20030125/0200f796/xhtml_omit_tag.htm


More information about the Petal mailing list