MCPcopy Create free account
hub / github.com/crufter/goquery / ParseFragment

Function ParseFragment

exp/html/parse.go:1998–2046  ·  view source on GitHub ↗

ParseFragment parses a fragment of HTML and returns the nodes that were found. If the fragment is the InnerHTML for an existing element, pass that element in context.

(r io.Reader, context *Node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testParseCaseFunction · 0.85

Calls 4

resetInsertionModeMethod · 0.95
parseMethod · 0.95
NewTokenizerFunction · 0.85
AddMethod · 0.80

Tested by 1

testParseCaseFunction · 0.68