Commit Diff
- Commit:
d73d0e1bd102954594fa2d2a51975d90127bf53f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Thu Dec 2 14:31:53 2021 UTC
- Message:
- typo
--- main.go +++ main.go @@ -120,7 +120,7 @@ func getPageHead(node *html.Node) *html.Node { } for child := node.FirstChild; child != nil; child = child.NextSibling { - if n := getPageHead(node); n != nil { + if n := getPageHead(child); n != nil { return n } }