From 20f6c05ec50739d31f4dbe9fde0d223f2c43f6e8 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 16 Oct 2021 23:11:32 +0200 Subject: Update vendor --- vendor/github.com/dyatlov/go-opengraph/opengraph/opengraph.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'vendor/github.com/dyatlov') diff --git a/vendor/github.com/dyatlov/go-opengraph/opengraph/opengraph.go b/vendor/github.com/dyatlov/go-opengraph/opengraph/opengraph.go index 96feb78a..fa18673a 100644 --- a/vendor/github.com/dyatlov/go-opengraph/opengraph/opengraph.go +++ b/vendor/github.com/dyatlov/go-opengraph/opengraph/opengraph.go @@ -119,9 +119,6 @@ func (og *OpenGraph) ProcessHTML(buffer io.Reader) error { return z.Err() case html.StartTagToken, html.SelfClosingTagToken, html.EndTagToken: name, hasAttr := z.TagName() - if atom.Lookup(name) == atom.Body { - return nil // OpenGraph is only in head, so we don't need body - } if atom.Lookup(name) != atom.Meta || !hasAttr { continue } -- cgit v1.2.3