Optional
encodeEncodes text content. Use this method to encode HTML/XML entities.
Text to encode.
Optional
isIf true
then ASCII alpha characters are case-insensitive in tag names.
Optional
isIf true
then self-closing tags are recognized, otherwise they are treated as start tags.
Optional
voidThe list of tags that can't have any contents (since there's no end tag, no content can be put between the start tag and the end tag).
Options of createSerializer.