dualfroz 3701788802 feat: add NewDocumentFromReaderWithOptions
goquery calls html.Parse, so callers cannot reach the parse options that
golang.org/x/net/html has since grown. The one that matters is
ParseOptionEnableScripting(false): with scripting assumed enabled the
contents of a noscript element are parsed as raw text and no selector
can reach inside it.

Add a constructor taking html.ParseOption values. Existing constructors
are untouched.

Refs #139
2026-09-06 01:24:56 +02:00
S
Description
My contributions to PuerkitoBio/goquery: 4 commits, 2 merged PRs
64 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%