OptionaldecodeOptionalemptyPrint an empty attribute's value.
OptionalencodeEncode characters that are either reserved in HTML or XML.
If xmlMode is true or the value not 'utf8', characters outside of the utf8 range will be encoded as well.
OptionalselfPrint self-closing tags for tags without contents.
OptionalxmlTreat the input as an XML document; enables the emptyAttrs and selfClosingTags options.
If the value is "foreign", it will try to correct mixed-case attribute names.
Option inherited from parsing; will be used as the default value for
encodeEntities.