Module LibXML::XML::HTMLParser::Options

  1. ext/libxml/libxml.c

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

RECOVER = 1   Relax parsing.
NOERROR = 32   Suppress error reports.
NOWARNING = 64   Suppress warning reports.
PEDANTIC = 128   Enable pedantic error reporting.
NOBLANKS = 256   Remove blank nodes.
NONET = 2048   Forbid network access.
COMPACT = 65536   Compact small text nodes.