cmd/sgblog/http.go | 2 +- common.go | 2 +- diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 1d45a3eef3e9d7562638d1eec57f84620a115d936d4cebf41c71f7ddc66ada6d..19e0834a0897585fe19e2421c819326478d4ad376949a603c79c29b005beba91 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -553,7 +553,7 @@ } htmlized := make([]string, 0, len(lines)) htmlized = append(htmlized, "
")
 			for _, l := range lines[2:] {
-				htmlized = append(htmlized, html.EscapeString(l))
+				htmlized = append(htmlized, lineURLize(cfg.AtomBaseURL+cfg.URLPrefix, l))
 			}
 			htmlized = append(htmlized, "
") feed.Entry = append(feed.Entry, &atom.Entry{ diff --git a/common.go b/common.go index 9ed6d4fe4380f947874acdedf42720f148a0ff6a195dfb8b4c9b2cfb3f8fb949..d6004ac9ace68993f1794f6ffa3cfef6810c62e6799f37cbc6c2fa706b7a8831 100644 --- a/common.go +++ b/common.go @@ -2,6 +2,6 @@ // SGBlog -- Git-backed CGI/inetd blogging/phlogging engine package sgblog const ( - Version = "0.11.0" + Version = "0.12.0" WhenFmt = "2006-01-02 15:04:05Z07:00" )