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

Safe HaskellSafe-Infered

Text.XmlHtml.HTML.Meta

Synopsis

Documentation

endOmittableLast :: HashSet TextSource

Tags which can be implicitly ended in case they are the last element in their parent. This list actually includes all of the elements that have any kind of omittable end tag, since in general when an element with an omittable end tag isn't specified to be omittable in this way, it's just because in a complete document it isn't expected to ever be the last thing in its parent. We aren't interested in enforcing element structure rules, so we'll allow it anyway.

endOmittableNext :: HashMap Text (HashSet Text)Source

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