Skip to content

enum XML::HTMLParserOptions

Members

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

Class methods

.default : self

Returns default options for parsing HTML documents.

Default flags are: RECOVER | NOERROR | NOWARNING

View source

Methods

#compact?

View source

#ignore_enc?

View source

#noblanks?

View source

#nodefdtd?

View source

#noerror?

View source

#noimplied?

View source

#none?

View source

#nonet?

View source

#nowarning?

View source

#pedantic?

View source

#recover?

View source