XML mode
The XML mode supports two configuration parameters:
htmlMode (boolean)
- This switches the mode to parse HTML instead of XML. This means attributes do not have to be quoted, and some elements (such as
br
) do not require a closing tag. alignCDATA (boolean)
- Setting this to true will force the opening tag of CDATA blocks to not be indented.
MIME types defined: application/xml
, text/html
.