projects
/
catagits/HTML-Zoom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add / to excluded characters in attribute names to correctly parse <br/> etc.
[catagits/HTML-Zoom.git]
/
lib
/
HTML
/
Zoom
/
Parser
/
BuiltIn.pm
diff --git
a/lib/HTML/Zoom/Parser/BuiltIn.pm
b/lib/HTML/Zoom/Parser/BuiltIn.pm
index
efa07cb
..
b55cc4d
100644
(file)
--- a/
lib/HTML/Zoom/Parser/BuiltIn.pm
+++ b/
lib/HTML/Zoom/Parser/BuiltIn.pm
@@
-23,7
+23,7
@@
sub _hacky_tag_parser {
(
(?:[^<]*) < (?:
( / )? ( [^/!<>\s"'=]+ )
- ( (?:"[^"]*"|'[^']*'|[^"'<>])+? )?
+ ( (?:"[^"]*"|'[^']*'|[^/"'<>])+? )?
|
(!-- .*? -- | ![^\-] .*? )
) (\s*/\s*)? >