[Petal] Petal::Parser::HTB 1.03

William McKee william at knowmad.com
Tue Mar 16 14:42:15 GMT 2004


On Mon, Mar 15, 2004 at 04:09:22PM +0000, Jean-Michel Hiver wrote:
> I have updated the test t/041_Entities.t in Petal::Parser::HTB as follows:
    <snip>
> If this test passes on your system, the '&nbsp;' issue _should_ be no 
> more - at least with a recent version of Perl.

Just installed Petal 2.03 and Petal::Parser::HTB 1.03. All tests are
passing for me now (that wasn't the case previously). The nbsp issue is
still present when using Petal::Parser::HTB unless I set the DocType and
the charset as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 <rest of header info>


>From what I've read on the subject, these results make sense. I don't
see any reason to try to change Petal or Petal::Parser::HTB. I'm
migrating away from the need for HTB day-by-day.


> Tested with Perl 5.8.3 with the latest HTML::Tree distro under Fedora 
> Core 1.

Tested with Perl 5.8.3 under Debian 3.0 with Apache/1.3.29 (Unix)
mod_perl/1.29 mod_ssl/2.8.16 OpenSSL/0.9.6c.


Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com


More information about the Petal mailing list