1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Remove unnecessary "Str2html" modifier from templates (#29319)

Follow #29165
This commit is contained in:
wxiaoguang
2024-02-23 02:05:47 +08:00
committed by GitHub
parent 5ed17d9895
commit c9d0e63c20
58 changed files with 121 additions and 120 deletions

View File

@@ -5,9 +5,9 @@
<div class="header">
{{ctx.Locale.Tr "repo.invisible_runes_header"}}
</div>
<p>{{ctx.Locale.Tr "repo.invisible_runes_description" | Str2html}}</p>
<p>{{ctx.Locale.Tr "repo.invisible_runes_description"}}</p>
{{if .EscapeStatus.HasAmbiguous}}
<p>{{ctx.Locale.Tr "repo.ambiguous_runes_description" | Str2html}}</p>
<p>{{ctx.Locale.Tr "repo.ambiguous_runes_description"}}</p>
{{end}}
</div>
{{else if .EscapeStatus.HasAmbiguous}}
@@ -16,7 +16,7 @@
<div class="header">
{{ctx.Locale.Tr "repo.ambiguous_runes_header"}}
</div>
<p>{{ctx.Locale.Tr "repo.ambiguous_runes_description" | Str2html}}</p>
<p>{{ctx.Locale.Tr "repo.ambiguous_runes_description"}}</p>
</div>
{{end}}
{{end}}