add / to excluded characters in attribute names to correctly parse <br/> etc.
authorMatt S Trout <mst@shadowcat.co.uk>
Thu, 24 Feb 2011 20:10:16 +0000 (20:10 +0000)
committerMatt S Trout <mst@shadowcat.co.uk>
Thu, 24 Feb 2011 20:29:21 +0000 (20:29 +0000)
commitabc91e12ee2174db8068e3c9423c9a4afc651aba
tree35d37793ba88fe4e97ca846e76680a79551bdc1b
parent3b699141cd75b2a07ff0512e2239e1a960901288
add / to excluded characters in attribute names to correctly parse <br/> etc.

for <br/>, the '/' was being interpreted as the attribute string so
$in_place_close wasn't being set. Adding / to the exclusion list fixes this.
Changes
lib/HTML/Zoom/Parser/BuiltIn.pm
t/parser_weirdness.t [new file with mode: 0644]