diff --git a/web/templates/mindflow.pug b/web/templates/mindflow.pug index 6113a17..389bdad 100755 --- a/web/templates/mindflow.pug +++ b/web/templates/mindflow.pug @@ -32,7 +32,7 @@ block content a(href=`#${post.PostID()}`) h3= post.Category.Name + ": " + post.Title each line in strings.Split(post.Body, "\n") - if (line[0] == '>') + if (len(line) > 0 && line[0] == '>') p.quote!= line else p!= line