From b512af25a3dcb656ff7cf301db335a497771d613 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 23 May 2023 03:28:04 +0400 Subject: [PATCH] Check if line is empty. --- web/templates/guestbook.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index a377c68..7434036 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -1,7 +1,7 @@ extends base.pug mixin entryLine(line) - if (line[0] == '>') + if (len(line) > 0 && line[0] == '>') p.quote= line else p= line