xmlhtml-0.2.1: XML parser and renderer with HTML 5 quirks mode

Safe HaskellNone




voidTags :: HashSet TextSource

Void elements as defined by the HTML5 spec.

rawTextTags :: HashSet TextSource

Elements that XmlHtml treats as raw text. Raw text elements are not allowed to have any other tags in them. This is necessary to support the Javascript less than operator inside a script tag, for example.

endOmittableLast :: HashSet TextSource

List of elements with omittable end tags.

endOmittableNext :: HashMap Text (HashSet Text)Source

Tags which should be considered automatically ended in case one of a certain set of tags pops up.

predefinedRefs :: HashMap Text TextSource

Predefined character entity references as defined by the HTML5 spec.