1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

Prevent html entity escaping (#4471)

This commit is contained in:
Joel da Rosa 2018-07-19 12:25:17 -03:00 committed by Lauris BH
parent fe78154895
commit 91373901f6
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@
{{.i18n.Tr "repo.branch.delete_html"}} <span class="branch-name"></span>
</div>
<div class="content">
<p>{{.i18n.Tr "repo.branch.delete_desc"}}</p>
<p>{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}</p>
</div>
{{template "base/delete_modal_actions" .}}
</div>

View file

@ -137,7 +137,7 @@
{{.i18n.Tr "repo.branch.delete" .HeadTarget }}
</div>
<div class="content">
<p>{{.i18n.Tr "repo.branch.delete_desc"}}</p>
<p>{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}</p>
</div>
{{template "base/delete_modal_actions" .}}
</div>