Fails to parse a comment with a single character inside #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
parser.parse("<!--x-->")produces
Document(Comment(⚠),Text)instead ofDocument(Comment)as I would expect.I looked through the grammar and don't understand where this bug is...It works for zero-character comments and 2 character comments, just not one-character ones.
Attached patch should help.