From 920cc30eb310623be935a4989089ce62237fc507 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Thu, 20 Feb 2025 17:23:39 +0300
Subject: [PATCH] Fix disappearing content

---
 cmd/sgblog/http.go | 4 ++--
 common.go          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go
index b398716..837320b 100644
--- a/cmd/sgblog/http.go
+++ b/cmd/sgblog/http.go
@@ -739,8 +739,8 @@ func serveHTTP() {
 		commentsParsed := sgblog.ParseComments(commentsRaw)
 		comments := make([]CommentEntry, 0, len(commentsParsed))
 		for _, comment := range commentsParsed {
-			lines = strings.Split(comment, "\n")
-			comments = append(comments, CommentEntry{lines[:3], lines[3:]})
+			commentLines := strings.Split(comment, "\n")
+			comments = append(comments, CommentEntry{commentLines[:3], commentLines[3:]})
 		}
 		var notesLines []string
 		if len(notesRaw) > 0 {
diff --git a/common.go b/common.go
index 67675a3..ae0961e 100644
--- a/common.go
+++ b/common.go
@@ -30,7 +30,7 @@ import (
 )
 
 const (
-	Version = "0.35.0"
+	Version = "0.36.0"
 	WhenFmt = "2006-01-02 15:04:05Z07:00"
 )
 
-- 
2.51.0