aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/html/node.go
diff options
context:
space:
mode:
authorale <ale@incal.net>2021-07-12 17:29:19 +0000
committerale <ale@incal.net>2021-07-12 17:29:19 +0000
commitef2c410063d3be2632ad7449cab6f51511face6b (patch)
tree9d2e82374a063f3b568110e83ccb1b285f3247f1 /vendor/golang.org/x/net/html/node.go
parent877afafd950b84242204499b3ed8c1b2c8c75f31 (diff)
parent557f9d889812976293b4a668c190e0e1e0332857 (diff)
downloadcrawl-ef2c410063d3be2632ad7449cab6f51511face6b.tar.gz
crawl-ef2c410063d3be2632ad7449cab6f51511face6b.zip
Merge branch 'renovate/github.com-puerkitobio-goquery-1.x' into 'master'
Update module github.com/PuerkitoBio/goquery to v1.7.1 See merge request ale/crawl!3
Diffstat (limited to 'vendor/golang.org/x/net/html/node.go')
-rw-r--r--vendor/golang.org/x/net/html/node.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/html/node.go b/vendor/golang.org/x/net/html/node.go
index 633ee15..1350eef 100644
--- a/vendor/golang.org/x/net/html/node.go
+++ b/vendor/golang.org/x/net/html/node.go
@@ -18,6 +18,11 @@ const (
ElementNode
CommentNode
DoctypeNode
+ // RawNode nodes are not returned by the parser, but can be part of the
+ // Node tree passed to func Render to insert raw HTML (without escaping).
+ // If so, this package makes no guarantee that the rendered HTML is secure
+ // (from e.g. Cross Site Scripting attacks) or well-formed.
+ RawNode
scopeMarkerNode
)