diff --git a/routers/web/repo/blame.go b/routers/web/repo/blame.go index 4ade9e9a93..69574111b2 100644 --- a/routers/web/repo/blame.go +++ b/routers/web/repo/blame.go @@ -7,7 +7,6 @@ package repo import ( "container/list" "fmt" - "html" gotemplate "html/template" "net/http" "strings" @@ -244,7 +243,7 @@ func renderBlame(ctx *context.Context, blameParts []git.BlamePart, commitNames m br.PreviousSha = previousSha br.PreviousShaURL = fmt.Sprintf("%s/blame/commit/%s/%s", repoLink, previousSha, ctx.Repo.TreePath) br.CommitURL = fmt.Sprintf("%s/commit/%s", repoLink, part.Sha) - br.CommitMessage = html.EscapeString(commit.CommitMessage) + br.CommitMessage = commit.CommitMessage br.CommitSince = commitSince }