diff --git a/release-notes/8.0.0/fix/3744.md b/release-notes/8.0.0/fix/3744.md new file mode 100644 index 0000000000..5d5d3ef9fe --- /dev/null +++ b/release-notes/8.0.0/fix/3744.md @@ -0,0 +1 @@ +- mail notifications of pull requests push are empty diff --git a/templates/mail/issue/default.tmpl b/templates/mail/issue/default.tmpl index 4e83dbcfdb..395b118d3e 100644 --- a/templates/mail/issue/default.tmpl +++ b/templates/mail/issue/default.tmpl @@ -30,7 +30,7 @@ {{.locale.Tr "mail.issue.action.force_push" .Doer.Name .Comment.Issue.PullRequest.HeadBranch $oldCommitLink $newCommitLink}} {{else}} - {{.locale.TrN (len .Comment.Commits) "mail.issue.action.push_1" "mail.issue.action.push_n" .Doer.Name .Comment.Issue.PullRequest.HeadBranch (len .Comment.Commits) | SanitizeHTML}} + {{.locale.TrN (len .Comment.Commits) "mail.issue.action.push_1" "mail.issue.action.push_n" .Doer.Name .Comment.Issue.PullRequest.HeadBranch (len .Comment.Commits)}} {{end}}

{{end}}