tony-o / perl6-html-parser-xml

html -> xml::document converter
2 stars 5 forks source link

Small fix in comment handling #9

Closed Skarsnik closed 9 years ago

Skarsnik commented 9 years ago

Fix comment handling to not fail on tag, without this fix the code will keep considering content as comment

until it find a second --> (and crash if he does not find one)