diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-23 02:05:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 18:05:47 +0000 |
commit | c9d0e63c202827756c637d9ca7bbde685c1984b7 (patch) | |
tree | 0063802c261722b7225e9802b7818593d9b195e2 /templates/status/500.tmpl | |
parent | 5ed17d9895bf678374ef5227ca37870c1c170802 (diff) | |
download | gitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.tar.gz gitea-c9d0e63c202827756c637d9ca7bbde685c1984b7.zip |
Remove unnecessary "Str2html" modifier from templates (#29319)
Follow #29165
Diffstat (limited to 'templates/status/500.tmpl')
-rw-r--r-- | templates/status/500.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index edcb90f9a4..d6cff28174 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -42,7 +42,7 @@ {{end}} <div class="center gt-mt-5"> {{if or .SignedUser.IsAdmin .ShowFooterVersion}}<p>{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} - {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message" | Str2html}}</p>{{end}} + {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message"}}</p>{{end}} </div> </div> </div> |