XML mode

AخA
 
1
 <html style="color: green"> <!-- this is a comment --> <head> <title>HTML Example</title> </head> <body> The indentation tries to be <em>somewhat &quot;do what I mean&quot;</em>...
2
            but might not match your style. </body> </html> 

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.