Subject: | Bug in HTML-Tree 3.20 |
Date: | Wed, 02 Aug 2006 18:00:55 +0100 |
To: | bug-HTML-Tree [...] rt.cpan.org |
From: | "Gordon Lack" <gml4410 [...] ggr.co.uk> |
Solution:
The Makefile.PL version dependence for HTML::Parser needs to be
upgraded from 2.19 to 3.46.
Problem:
When you build HTML-Tree 3.20 you may get a test failure:
# Failed test 'Alt tag is quoted and escaped'
# in t/tag-rendering.t at line 40.
#
...etc...
The problem is that this test relies on
HTML::Entities:encode_entities encoding a ' (single quote) and this weas
only added to the unsafe char list in HTML-Parser-3.46. If you have
HTML::Parser installed, but an older version than 3.46, you will fail
the tests. Changing the version dependence will prevent the test
failure.