From 7d898afb033a5ee2cbc02f432484fb5579060313 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 15 Jan 2022 17:00:46 +0100 Subject: [PATCH] Problem: array meta and single char meta keywords are not rendered right Solution: fix problem with array meta and single char meta keywords --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fb1c420..a9880cd 100644 --- a/main.go +++ b/main.go @@ -741,7 +741,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { defer r.Body.Close() - metaKV, err := regexp.Compile(`(\w[ \w]+)::\s+(.*)`) + metaKV, err := regexp.Compile(`(\w[ \w]*)::(?: +(.*))?`) if err != nil { log.Fatal(err) }