Commit Diff
Diff:
864b9b6e89c980aab991e58d1ea2f2f1239d8973
d73d0e1bd102954594fa2d2a51975d90127bf53f
Commit:
d73d0e1bd102954594fa2d2a51975d90127bf53f
Tree:
f1e3856d36ec8ea31bbfa326cd994a281b06ac64
Author:
Omar Polo <op@omarpolo.com>
Date:
Thu Dec 2 14:31:53 2021 UTC
Message:
typo
commit - 864b9b6e89c980aab991e58d1ea2f2f1239d8973
commit + d73d0e1bd102954594fa2d2a51975d90127bf53f
blob - cb2b1ede1a2c3ba542ef04b7d6717d807764cb94
blob + ab1db5254324e85488fb55a83a9b76b1e3ba2673
--- 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
}
}
Omar Polo