enum

XML::HTMLParserOptions

Inherits Enum / Comparable / Value / Object

Constants

RECOVER = 1

Relaxed parsing

NODEFDTD = 4

Do not default a doctype if not found

NOERROR = 32

Suppress error reports

NOWARNING = 64

Suppress warning reports

PEDANTIC = 128

Pedantic error reporting

NOBLANKS = 256

Remove blank nodes

NONET = 2048

Forbid network access

NOIMPLIED = 8192

Do not add implied html/body... elements

COMPACT = 65536

Compact small text nodes

IGNORE_ENC = 2097152

Ignore internal document encoding hint

None = 0
All = 2173413

Constructors

default

Returns default options for parsing HTML documents.

Default flags are: RECOVER | NOWARNING

Source

Instance methods

compact?

Returns true if this enum value contains COMPACT

Source
ignore_enc?

Returns true if this enum value contains IGNORE_ENC

Source
noblanks?

Returns true if this enum value contains NOBLANKS

Source
nodefdtd?

Returns true if this enum value contains NODEFDTD

Source
noerror?

Returns true if this enum value contains NOERROR

Source
noimplied?

Returns true if this enum value contains NOIMPLIED

Source
none?
Source
nonet?

Returns true if this enum value contains NONET

Source
nowarning?

Returns true if this enum value contains NOWARNING

Source
pedantic?

Returns true if this enum value contains PEDANTIC

Source
recover?

Returns true if this enum value contains RECOVER

Source