If set to true, entities within the document will be decoded. Defaults to false.
If set to true, all tags will be lowercased. If xmlMode is disabled, this defaults to true.
If set to true, all attribute names will be lowercased. This has noticeable impact on speed, so it defaults to false.
TODO
If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled. NOTE: If xmlMode is set to true then CDATA sections will always be recognized as text.
If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true. NOTE: If xmlMode is set to true then self-closing tags will always be recognized.
TODO
Indicates whether special tags (<script> and <style>) should get special treatment
and if "empty" tags (eg.
) can have children. If false, the content of special
tags will be text only.
If set to true, entities within the document will be decoded.
If set to true, entities within the document will be decoded. Defaults to false.
If set to true, all attribute names will be lowercased.
If set to true, all attribute names will be lowercased. This has noticeable impact on speed, so it defaults to false.
If set to true, all tags will be lowercased.
If set to true, all tags will be lowercased. If xmlMode is disabled, this defaults to true.
TODO
If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled.
If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled. NOTE: If xmlMode is set to true then CDATA sections will always be recognized as text.
If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true.
If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true. NOTE: If xmlMode is set to true then self-closing tags will always be recognized.
TODO
Indicates whether special tags (<script> and <style>) should get special treatment and if "empty" tags (eg.
Indicates whether special tags (<script> and <style>) should get special treatment
and if "empty" tags (eg.
) can have children. If false, the content of special
tags will be text only.
Parser Options