diff --git a/docs/content/administration/mail-templates.en-us.md b/docs/content/administration/mail-templates.en-us.md index b642ff4aa7f..9077f97aeac 100644 --- a/docs/content/administration/mail-templates.en-us.md +++ b/docs/content/administration/mail-templates.en-us.md @@ -224,7 +224,7 @@ Please check [Gitea's logs](administration/logging-config.md) for error messages {{if not (eq .Body "")}}
- {{.Details | Str2html}}
+ {{.Details | SanitizeHTML}}
{{.NoteRendered | Str2html}}+
{{.NoteRendered | SanitizeHTML}}