aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status/500.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-04 20:02:45 +0800
committerGitHub <noreply@github.com>2024-03-04 12:02:45 +0000
commitdae7f1ebdbe19620f40e110b285f7c0ecd0bb33b (patch)
treede769b87f498ff4e2ee87828adcc2ea5da8ae5e4 /templates/status/500.tmpl
parente91733468ef726fc9365aa4820cdd5f2ddfdaa23 (diff)
downloadgitea-dae7f1ebdbe19620f40e110b285f7c0ecd0bb33b.tar.gz
gitea-dae7f1ebdbe19620f40e110b285f7c0ecd0bb33b.zip
Remove unnecessary SanitizeHTML from code (#29575)
* "mail/issue/default.tmpl": the body is rendered by backend `markdown.RenderString() HTML`, it has been already sanitized * "repo/settings/webhook/base_list.tmpl": "Description" is prepared by backend `ctx.Tr`, it doesn't need to be sanitized
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r--templates/status/500.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 58795e4bc0..03d0183280 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -1,5 +1,5 @@
{{/* This page should only depend the minimal template functions/variables, to avoid triggering new panics.
-* base template functions: AppName, AssetUrlPrefix, AssetVersion, AppSubUrl, ThemeName, SanitizeHTML
+* base template functions: AppName, AssetUrlPrefix, AssetVersion, AppSubUrl, ThemeName
* ctx.Locale
* .Flash
* .ErrorMsg