Shinmera / plump

Practically Lenient and Unimpressive Markup Parser for Common Lisp
https://shinmera.github.io/plump
zlib License
119 stars 21 forks source link

Fix error when lexing <!--> and <!---> #19

Closed jorams closed 6 years ago

jorams commented 6 years ago

Previously, the code assumed the length of the name of the tag would be at least 5, but that's not true in these two (invalid) cases. Browsers treat them as empty comments, and this change makes Plump do so too.

Shinmera commented 6 years ago

Thanks!