cmd/sgblog/http.go | 4 ++--
common.go | 2 +-
diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go
index ac3940cd7464c54639e4ee8ef8a4fa648ec36d37082b759b0ee0442e4013b831..380dba98b14b93d5c86091cb2910bed2029d0e780056cfcef1c478b0e92551a6 100644
--- a/cmd/sgblog/http.go
+++ b/cmd/sgblog/http.go
@@ -142,7 +142,7 @@ {{range .NoteLines}}{{. | lineURLize $Cfg.URLPrefix}}
{{end}}
{{end}}
-{{if .Cfg.CommentsEmail}}[leave comment]{{end}}
+{{if .Cfg.CommentsEmail}}[leave comment]{{end}}
{{range $idx, $comment := .Comments}}
- comment {{$idx}}:
@@ -798,7 +798,7 @@ }{
Version: sgblog.Version,
Cfg: cfg,
Title: title,
- TitleEscaped: strings.ReplaceAll(title, " ", "%20"),
+ TitleEscaped: url.PathEscape(fmt.Sprintf("Re: %s (%s)", title, commit.Hash)),
When: when,
AtomCommentsURL: atomCommentsURL,
Parent: parent,
diff --git a/common.go b/common.go
index c2008d540865569396a7a62ca379bc3a864c7c992e4f3524895749d93318a178..0ef3e8a66a1bba0fea24aa357c4f7718e67dbd2e38b2d66ca184744d25b81757 100644
--- a/common.go
+++ b/common.go
@@ -2,6 +2,6 @@ // SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
package sgblog
const (
- Version = "0.10.0"
+ Version = "0.10.1"
WhenFmt = "2006-01-02 15:04:05Z07:00"
)