===================================
Tags
===================================
Hello
---
(fragment
(element
(start_tag)
(text)
(end_tag)))
===================================
Tags with attributes
===================================
---
(fragment
(element
(start_tag
(attribute
(attribute_name)
(attribute_value))
(attribute
(attribute_name)
(quoted_attribute_value (attribute_value)))
(attribute
(attribute_name)))
(end_tag)))
===================================
Nested tags
===================================
a
b
c
---
(fragment
(element
(start_tag)
(element
(start_tag)
(text)
(end_tag))
(text)
(element
(start_tag)
(text)
(end_tag))
(end_tag)))
==================================
Void tags
==================================
---
(fragment
(element
(start_tag)
(element
(start_tag
(attribute (attribute_name) (quoted_attribute_value (attribute_value)))))
(element (start_tag))
(element
(self_closing_tag
(attribute (attribute_name) (attribute_value))
(attribute (attribute_name) (attribute_value))))
(end_tag)))
==================================
Comments
==================================
---
(fragment
(comment)
(element
(start_tag)
(comment)
(end_tag)))
==================================
Raw text elements
==================================
---
(fragment
(raw_element
(start_tag)
(end_tag))
(raw_element
(start_tag)
(end_tag))
(text))
==================================
All-caps doctype
==================================
---
(fragment
(doctype))
==================================
Lowercase doctype
==================================
---
(fragment
(doctype))