diff --git a/api/common/get_metadata.go b/api/common/get_metadata.go index 57f7623..7aaec64 100644 --- a/api/common/get_metadata.go +++ b/api/common/get_metadata.go @@ -44,7 +44,7 @@ func searchAttributes(attributes []html.Attribute, lookingFor string) string { return "" } -var headRegex = regexp.MustCompile("((.|\n|\r\n)+)") +var headRegex = regexp.MustCompile("((.|\n|\r\n)+)") func crawl(node *html.Node, hm *DB.Meta) { if node.Type == html.TextNode && node.Parent.Data == "title" {