Skip to content

Commit ec5db50

Browse files
authored
Merge branch 'main' into fix-webhook-request
2 parents 825bb4b + 4e8a817 commit ec5db50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/repo/blame.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package repo
66

77
import (
88
"fmt"
9-
"html"
109
gotemplate "html/template"
1110
"net/http"
1211
"strings"
@@ -239,7 +238,7 @@ func renderBlame(ctx *context.Context, blameParts []git.BlamePart, commitNames m
239238
br.PreviousSha = previousSha
240239
br.PreviousShaURL = fmt.Sprintf("%s/blame/commit/%s/%s", repoLink, previousSha, ctx.Repo.TreePath)
241240
br.CommitURL = fmt.Sprintf("%s/commit/%s", repoLink, part.Sha)
242-
br.CommitMessage = html.EscapeString(commit.CommitMessage)
241+
br.CommitMessage = commit.CommitMessage
243242
br.CommitSince = commitSince
244243
}
245244

0 commit comments

Comments
 (0)