cmd/sgblog/http.go | 6 +++++- common.go | 2 +- diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 209c4c6387b09b4b443d697fccb50bcf7de08477846b1fcdea37d8ccb94646cd..aad09625891b5d508cc2ceea5f19424cc81417e803c8e5d34ed18219afea32ff 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -642,7 +642,11 @@ out.Write([]byte(lineURLize(cfg.URLPrefix, line) + "\n")) } out.Write([]byte("\n
\n")) if len(notesRaw) > 0 { - out.Write([]byte("Note:
\n" + string(notesRaw) + "\n
\n
\n")) + out.Write([]byte("Note:
\n"))
+			for _, line := range strings.Split(string(notesRaw), "\n") {
+				out.Write([]byte(lineURLize(cfg.URLPrefix, line) + "\n"))
+			}
+			out.Write([]byte("
\n
\n")) } if cfg.CommentsEmail != "" { out.Write([]byte("[" + makeA( diff --git a/common.go b/common.go index 6c596e946de8beaf9c26969b86d3c9393c01a2ef313ef64b87a1bdaa691e3d81..6536f7bcf805dafab4b56051521566b4d8998f32a0c0255e63b24f8274514ada 100644 --- a/common.go +++ b/common.go @@ -2,6 +2,6 @@ // SGBlog -- Git-backed CGI/inetd blogging/phlogging engine package sgblog const ( - Version = "0.6.1" + Version = "0.6.2" WhenFmt = "2006-01-02 15:04:05Z07:00" )