aboutsummaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-23 01:02:33 +0800
committerGitHub <noreply@github.com>2024-02-22 17:02:33 +0000
commit7a1557d2cc893030ae900c4333eeb12d84b891dc (patch)
tree4e9e30c2f12419d46dfba40dd17de93bf1248b78 /templates/install.tmpl
parentf390d5eb4f4db21eeacdf2e7a093f6bd4e87c96f (diff)
downloadgitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.tar.gz
gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.zip
Remove unnecessary "Safe" modifier from templates (#29318)
Follow #29165
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index e9b267fa1c..05a74cc788 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -8,7 +8,7 @@
<div class="ui attached segment">
{{template "base/alert" .}}
- <p>{{ctx.Locale.Tr "install.docker_helper" "https://docs.gitea.com/installation/install-with-docker" | Safe}}</p>
+ <p>{{ctx.Locale.Tr "install.docker_helper" "https://docs.gitea.com/installation/install-with-docker"}}</p>
<form class="ui form" action="{{AppSubUrl}}/" method="post">
<!-- Database Settings -->
@@ -72,7 +72,7 @@
<div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
<label for="db_path">{{ctx.Locale.Tr "install.path"}}</label>
<input id="db_path" name="db_path" value="{{.db_path}}">
- <span class="help">{{ctx.Locale.Tr "install.sqlite_helper" | Safe}}</span>
+ <span class="help">{{ctx.Locale.Tr "install.sqlite_helper"}}</span>
</div>
</div>