Skip to content

Commit d83f464

Browse files
committed
Missed one!
1 parent 5bfe080 commit d83f464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ example, to process each anchor node in depth-first order:
7878
if err != nil {
7979
// ...
8080
}
81-
for n := range doc.All() {
81+
for n := range doc.Descendants() {
8282
if n.Type == html.ElementNode && n.Data == "a" {
8383
// Do something with n...
8484
}

0 commit comments

Comments
 (0)