Module: LibXML::XML::HTMLParser::Options
Relationships & Source Files | |
Defined in: | ext/libxml/ruby_xml_html_parser_options.c |
Overview
Options
to control the operation of the ::LibXML::XML::HTMLParser
. The easiest way to set a parser’s options is via the methods file, io or string. For additional control, see Context#options=.
Constant Summary
-
COMPACT =
Compact small text nodes.
65536
-
NOBLANKS =
Remove blank nodes.
256
-
NODEFDTD =
Do not default a doctype if not found
2
-
NOERROR =
Suppress error reports.
32
-
NOIMPLIED =
Do not add implied html/body… elements
8192
-
NONET =
Forbid network access.
2048
-
NOWARNING =
Suppress warning reports.
64
-
PEDANTIC =
Enable pedantic error reporting.
128
-
RECOVER =
Relax parsing.
1