cmd/sgblog/http.go | 4 ++-- common.go | 2 +- diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 3460e0f9ec9f257c4114bd1cfb5cfcb8f1666072182e479821d6e0e8950ca314..78e56745084080b6b314eabc06175d3f3db9cf9b245e81561bdfed9fe78a1ea4 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -739,8 +739,8 @@ } 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 e36cddacca81f93870127f4a6aec00ce72c4634bffaa10031333d88afea47489..7a0e5306d334ba83e25feff3f7a73ed2c229c2d1eb1cd282282e3c98e0d10567 100644 --- a/common.go +++ b/common.go @@ -30,7 +30,7 @@ "go.cypherpunks.su/recfile/v2" ) const ( - Version = "0.35.0" + Version = "0.36.0" WhenFmt = "2006-01-02 15:04:05Z07:00" )