Commit Graph

13 Commits

Author SHA1 Message Date
Santos Gallegos af9339f3de
Dont include trailing spaces in text nodes (#27)
* Don't include trailing spaces in text nodes

* Update tests
2021-07-11 11:04:28 -07:00
Ika 15c9cdb62f fix: raw text end tags should be case insensitive 2019-10-04 20:48:11 +08:00
Ika 0a4bfb63a6 test: add tests 2019-10-04 20:44:44 +08:00
Max Brunsfeld 30b7bf0f46 Make distinct nodes for style/script, set up injection 2018-12-14 17:43:41 -08:00
Benjamin Gray 2f31047048
Add tests for weird comment ends 2018-10-29 11:56:39 +11:00
Max Brunsfeld 95b8b772d5 Handle void tags at EOF 2018-06-12 14:06:16 -07:00
Max Brunsfeld d257db6f66 Add custom tags test 2018-06-12 14:03:51 -07:00
Max Brunsfeld 5f2a122de7 Parse tag names as separate tokens 2018-06-12 12:20:13 -07:00
Max Brunsfeld 7cfe147792 Handle elements with optional end tags (li, p, etc)
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-12 10:51:03 -07:00
Max Brunsfeld 21b5fad6f0 Add raw text elements and doctypes
Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
2018-06-11 16:59:44 -07:00
Max Brunsfeld e56df0fc7f Add comments, allow slashes in unquoted attribute values
Co-Authored-By: Ashi Krishan <queerviolet@github.com>
2018-06-11 16:59:44 -07:00
Max Brunsfeld 6ee8f55084 Start tracking element nesting in external scanner
Co-Authored-By: Ashi Krishan <queerviolet@github.com>
2018-06-11 16:59:44 -07:00
Max Brunsfeld e74d96c27b Initial commit
Co-Authored-By: Ashi Krishan <queerviolet@github.com>
2018-06-11 16:59:22 -07:00