Skip Menu |

This queue is for tickets about the HTML-HTML5-Parser CPAN distribution.

Report information
The Basics
Id: 112987
Status: new
Priority: 0/
Queue: HTML-HTML5-Parser

Owner: Nobody in particular
Requestors: corion [...]

Bug Information
Severity: (no value)
Broken in: 0.301
Fixed in: (no value)


Subject: Parser crash on invalid attributes
Date: Sun, 13 Mar 2016 13:38:39 +0100
To: bug-HTML-HTML5-Parser [...]
From: Max Maischein <corion [...]>
Download (untitled) / with headers
text/plain 606b
Hello Toby, thanks for writing one of the few HTML5 parsers! While importing/cleaning some horrible HTML with some more horrible regular expressions, I found a small bug. The parser crashes when it encounters invalid attributes. I would expect the parser to be more lenient and have it ignore such attributes. <p "123px"> causes the parser to crash. Attached is a patch against 0.301 which includes a test case. I didn't find the module on Github, otherwise I'd have created a pull request. I don't have Mercurial installed and am not sure whether you still actively use -max

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to