aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package/content/composer.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/package/content/composer.tmpl
parentf390d5eb4f4db21eeacdf2e7a093f6bd4e87c96f (diff)
downloadgitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.tar.gz
gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.zip
Remove unnecessary "Safe" modifier from templates (#29318)
Follow #29165
Diffstat (limited to 'templates/package/content/composer.tmpl')
-rw-r--r--templates/package/content/composer.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/package/content/composer.tmpl b/templates/package/content/composer.tmpl
index 862f1c6925..70bfbc4488 100644
--- a/templates/package/content/composer.tmpl
+++ b/templates/package/content/composer.tmpl
@@ -3,7 +3,7 @@
<div class="ui attached segment">
<div class="ui form">
<div class="field">
- <label>{{svg "octicon-code"}} {{ctx.Locale.Tr "packages.composer.registry" | Safe}}</label>
+ <label>{{svg "octicon-code"}} {{ctx.Locale.Tr "packages.composer.registry"}}</label>
<div class="markup"><pre class="code-block"><code>{
"repositories": [{
"type": "composer",
@@ -17,7 +17,7 @@
<div class="markup"><pre class="code-block"><code>composer require {{.PackageDescriptor.Package.Name}}:{{.PackageDescriptor.Version.Version}}</code></pre></div>
</div>
<div class="field">
- <label>{{ctx.Locale.Tr "packages.registry.documentation" "Composer" "https://docs.gitea.com/usage/packages/composer/" | Safe}}</label>
+ <label>{{ctx.Locale.Tr "packages.registry.documentation" "Composer" "https://docs.gitea.com/usage/packages/composer/"}}</label>
</div>
</div>
</div>