We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41a3523 + 6792c57 commit 5e37bb1Copy full SHA for 5e37bb1
opengraph/opengraph.go
@@ -131,7 +131,6 @@ func (og *OpenGraph) ProcessHTML(buffer io.Reader) error {
131
og.ProcessMeta(m)
132
}
133
134
- return nil
135
136
137
// ProcessMeta processes meta attributes and adds them to Open Graph structure if they are suitable for that
@@ -248,7 +247,7 @@ func (og *OpenGraph) processArticleMeta(metaAttrs map[string]string) {
248
247
if err == nil {
249
og.Article.ExpirationTime = &t
250
251
- case "article:secttion":
+ case "article:section":
252
og.Article.Section = metaAttrs["content"]
253
case "article:tag":
254
og.Article.Tags = append(og.Article.Tags, metaAttrs["content"])
0 commit comments