Document.parseGarbage

Given the kind of garbage you find on the Internet, try to make sense of it. Equivalent to document.parse(data, false, false, null); (Case-insensitive, non-strict, determine character encoding from the data.) NOTE: this makes no attempt at added security, but it will try to recover from anything instead of throwing.

It is a template so it lazily imports characterencodings.

class Document
void
parseGarbage
()
(
string data
)

Meta