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

Function Render

exp/html/render.go:45–54  ·  view source on GitHub ↗

Render renders the parse tree n to the given writer. Rendering is done on a 'best effort' basis: calling Parse on the output of Render will always result in something similar to the original tree, but it is not necessarily an exact clone unless the original tree was 'well-formed'. 'Well-formed' is

(w io.Writer, n *Node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testParseCaseFunction · 0.85
TestRendererFunction · 0.85

Calls 1

renderFunction · 0.85

Tested by 2

testParseCaseFunction · 0.68
TestRendererFunction · 0.68