Subject: | html2pdf doesn't know nobr html tag |
The following error is produced when converting an appended file with html2pdf.pl test.html.
The fault is with nobr tag, when removed, all is ok.
This tag is deprecated but it's commonly used.
/tmp/FhEIqj6z8Q.xml: 'NOBR' () didn't make a node!
at ~/perl5/perlbrew/perls/perl-5.20.3/bin/html2pdf.pl line 49, <INFILE> line 1.
main::__ANON__("'NOBR' () didn't make a node!\x{a}") called at ~/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/PDF/FromHTML/Template.pm line 117
PDF::FromHTML::Template::__ANON__(XML::Parser::Expat=HASH(0x42dd7f0), "nobr") called at ~/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/x86_64-linux/XML/Parser/Expat.pm line 479
XML::Parser::Expat::parse(XML::Parser::Expat=HASH(0x42dd7f0), "<?xml version=\"1.0\" encoding=\"utf-8\"?>\x{a}<pdftemplate>\x{a} <paged"...) called at /home/srudiag/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/x86_64-linux/XML/Parser.pm line 187
Subject: | test.html |
mandatory