https://bugzilla.redhat.com/show_bug.cgi?id=1961070
Emmanuel Seyman <emmanuel(a)seyman.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Emmanuel Seyman <emmanuel(a)seyman.fr> ---
The test fails because HTML::TreeBuilder::LibXML returns an empty string while
the test expects something containing <html>.
Looking at HTML::TreeBuilder::LibXML::Node::as_HTML(), it calls toStringHTML(),
falls back on XML::LibXML::Node::toStringC14N() and finally on
XML::LibXML::Node::toString(). In the case of an empty string, toStringHTML()
cannot be called and, while XML::LibXML::Node::toString() returns
'<html><body/></html>', XML::LibXML::Node::toStringC14N()
returns an empty
string without errors (so this ends up being used).
Hummm...
--
You are receiving this mail because:
You are on the CC list for the bug.