aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/maintainer/show.go')
-rw-r--r--pkg/app/handler/maintainer/show.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/app/handler/maintainer/show.go b/pkg/app/handler/maintainer/show.go
index 2beb31c..c6262b1 100644
--- a/pkg/app/handler/maintainer/show.go
+++ b/pkg/app/handler/maintainer/show.go
@@ -2,6 +2,7 @@ package maintainer
import (
"encoding/json"
+ "html"
"net/http"
"soko/pkg/app/handler/packages/components"
"soko/pkg/app/layout"
@@ -103,7 +104,7 @@ func ShowChangelogFeed(w http.ResponseWriter, r *http.Request) {
for _, commit := range commits {
feed.Add(&feeds.Item{
- Title: commit.Message,
+ Title: html.EscapeString(commit.Message),
Updated: commit.CommitterDate,
Created: commit.AuthorDate,
Author: &feeds.Author{Name: commit.CommitterName, Email: commit.CommitterEmail},