Commit Graph

6 Commits

Author SHA1 Message Date
Shadowfacts aed61d84d3 Fix stack overflow when whitespace appears after attribute name and before tag-closing > 2024-02-06 18:46:56 -05:00
Shadowfacts 38b1d2949b Return temporary buffer as a .characterSequence 2023-12-23 11:49:43 -05:00
Shadowfacts 2f18ad3cf4 Process runs of unmodified characters as characterSequence tokens 2023-11-28 20:58:01 -05:00
Shadowfacts f7f35e09f7 Use Unicode.Scalar instead of Character
All the chars we care about are a single scalar, so this avoids spending
time on the grapheme breaking algorithm.
2023-11-28 11:56:56 -05:00
Shadowfacts 134803b72d Faster tokenizing for named character references 2023-11-26 18:26:22 -05:00
Shadowfacts a4d791a995 Add tokenizer 2023-11-24 15:18:37 -05:00