module LibXML::XML::HTMLParser::Options
Options
to control the operation of the HTMLParser
. The easiest way to set a parser’s options is via the methods XML::HTMLParser.file
, XML::HTMLParser.io
or XML::HTMLParser.string
. For additional control, see XML::HTMLParser::Context#options=
.
Constants
- COMPACT
-
Compact small text nodes.
- NOBLANKS
-
Remove blank nodes.
- NODEFDTD
-
Do not default a doctype if not found
- NOERROR
-
Suppress error reports.
- NOIMPLIED
-
Do not add implied html/body… elements
- NONET
-
Forbid network access.
- NOWARNING
-
Suppress warning reports.
- PEDANTIC
-
Enable pedantic error reporting.
- RECOVER
-
Relax parsing.