about summary refs log tree commit diff
path: root/readme.md
blob: d0fc3b94b2eaf2fec3a360afe3c136037ba1118a (plain)
1
2
3
4
5
6
7
8
opinionated, standards non-compliant HTML parser meant to consume handwritten HTML.

- all tags must close *(even `<br/>`, `<meta/>`, `<link/>`)*
- tag names must be separated from the tag-body *(where the attributes go)* by a space character *(` `, 0x20)*
- self-closing tags must have the closing `/` at the ver y end of the body *(directly before the `>`)*
- no > in tags except at the end (not even in attributes)
- inline `<script>` and `<style>` must have their closing-tag be
  first-of-line *(excluding whitespace)*