[Petal] Re: CPAN daily update

Jean-Michel Hiver jhiver at mkdoc.com
Tue Jan 13 10:03:27 GMT 2004


>Did I miss your usual announcement to the list or did you try to slip
>one by us ;->? So what did you change? There is no line item for 2.02 in
>the Changes file.
>  
>
Ooops! Sorry I've been lazy :) Great to hear your problem has been fixed.

>However, it seems this issue of entities needs to be addressed. What is
>your take on this for the future? It is a valid XHTML entity and should
>be safely handled by Petal.
>  
>
At the moment the way it's set is that if either your $Petal::INPUT or 
$Petal::OUTPUT (or the associated options in the constructor) are set to 
'HTML', then Petal will decode the HTML entities.

And actually   should be converted to a character with the code 
decimal 160 (Or A0) which corresponds to a non breaking space white. So 
the   disappears but is replaced by a "real" non breaking space 
character.

I encourage you to take a look at MKDoc::XML::Decode::XHTML source to 
see which HTML entities are supported: there's quite a few in there :)

Cheers,
Jean-Michel.



More information about the Petal mailing list