Skip Menu |

This queue is for tickets about the Petal CPAN distribution.

Report information
The Basics
Id: 34096
Status: open
Priority: 0/
Queue: Petal

People
Owner: Nobody in particular
Requestors: WMCKEE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.19
Fixed in: (no value)



Subject: Petal doesn't understand &
Bruno, Petal is replacing the special character for ampersand ('&') with blanks. This is because MKDoc::XML::Decode::XHTML has the amp and several other common HTML Entities commented out. Do you know why this is the case? I'm filing the bug under Petal as it affects usability. William -- Knowmad Technologies http://www.knowmad.com
BTW, you can use the ISO Latin-1 code as a workaround (e.g., & for ampersand). William -- Knowmad Technologies http://www.knowmad.com
From: BPOSTLE [...] cpan.org
On Fri Mar 14 14:32:20 2008, WMCKEE wrote: Show quoted text
> Petal is replacing the special character for ampersand ('&') with > blanks. This is because MKDoc::XML::Decode::XHTML has the amp and > several other common HTML Entities commented out. Do you know why this > is the case? I'm filing the bug under Petal as it affects usability.
I'm not sure what you mean. A solitary character '&' in a template is invalid XML, but & should be passed through unchanged. (and & could pass through unchanged or be converted to &, I'm not sure what petal does here)