aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/administration/mail-templates.en-us.md
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-25 18:45:56 +0800
committerGitHub <noreply@github.com>2024-02-25 10:45:56 +0000
commitf9207b09479df964872d68842469991042b5497f (patch)
tree78db3a0b9146be056a518bcd012b106f77095ecc /docs/content/administration/mail-templates.en-us.md
parent2e33671f2c1e98759e4fd2a90944c534cfdf5776 (diff)
downloadgitea-f9207b09479df964872d68842469991042b5497f.tar.gz
gitea-f9207b09479df964872d68842469991042b5497f.zip
Refactor Safe modifier (#29392)
After this PR: no need to play with the Safe/Escape tricks anymore. See the changes for more details.
Diffstat (limited to 'docs/content/administration/mail-templates.en-us.md')
-rw-r--r--docs/content/administration/mail-templates.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/administration/mail-templates.en-us.md b/docs/content/administration/mail-templates.en-us.md
index 05c41a6a02..b642ff4aa7 100644
--- a/docs/content/administration/mail-templates.en-us.md
+++ b/docs/content/administration/mail-templates.en-us.md
@@ -266,7 +266,7 @@ the messages. Here's a list of some of them:
| `AppDomain` | - | Any | Gitea's host name |
| `EllipsisString` | string, int | Any | Truncates a string to the specified length; adds ellipsis as needed |
| `Str2html` | string | Body only | Sanitizes text by removing any HTML tags from it. |
-| `Safe` | string | Body only | Takes the input as HTML; can be used for `.ReviewComments.RenderedContent`. |
+| `SafeHTML` | string | Body only | Takes the input as HTML; can be used for `.ReviewComments.RenderedContent`. |
These are _functions_, not metadata, so they have to be used: