Problem: array meta and single char meta keywords are not rendered right
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
564081a581
commit
7d898afb03
2
main.go
2
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) {
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user