diff --git a/docs/content/administration/mail-templates.en-us.md b/docs/content/administration/mail-templates.en-us.md index 32b352da4b..9077f97aea 100644 --- a/docs/content/administration/mail-templates.en-us.md +++ b/docs/content/administration/mail-templates.en-us.md @@ -222,9 +222,9 @@ Please check [Gitea's logs](administration/logging-config.md) for error messages {{.Repo}}#{{.Issue.Index}}.
{{if not (eq .Body "")}} -
- {{.Details | Str2html}}
+ {{.Details | SanitizeHTML}}
{{.NoteRendered | Str2html}}+
{{.NoteRendered | SanitizeHTML}}