Problem: array meta and single char meta keywords are not rendered right
All checks were successful
continuous-integration/drone/push Build is passing

Solution: fix problem with array meta and single char meta keywords
This commit is contained in:
Peter Stuifzand 2022-01-15 17:00:46 +01:00
parent 564081a581
commit 7d898afb03

View File

@ -741,7 +741,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close() defer r.Body.Close()
metaKV, err := regexp.Compile(`(\w[ \w]+)::\s+(.*)`) metaKV, err := regexp.Compile(`(\w[ \w]*)::(?: +(.*))?`)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }