JustHTML::Serializer
Constants
BLOCK_ELEMENTS = Set {"address", "article", "aside", "blockquote", "br", "dd", "details", "dialog", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "li", "main", "nav", "ol", "p", "pre", "section", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "ul"}
Block-level elements that should have newlines in text output
RAW_TEXT_ELEMENTS = Set {"script", "style", "xmp", "iframe", "noembed", "noframes", "plaintext"}
Raw text elements (content should not be escaped)
SKIP_ELEMENTS = Set {"script", "style", "template", "noscript"}
Elements whose content should be skipped in text extraction
Class methods
Serialize a single child node to a builder