Prevent html entity escaping (#4471) (#4485)

This commit is contained in:
Lauris BH 2018-07-21 01:39:40 +03:00 committed by techknowlogick
parent 3e191935c8
commit 5da301bb70
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>