mirror of
https://gitee.com/gitea/gitea
synced 2025-11-08 02:20:24 +08:00
Prevent html entity escaping (#4471)
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
{{.i18n.Tr "repo.branch.delete_html"}} <span class="branch-name"></span>
|
{{.i18n.Tr "repo.branch.delete_html"}} <span class="branch-name"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>{{.i18n.Tr "repo.branch.delete_desc"}}</p>
|
<p>{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{template "base/delete_modal_actions" .}}
|
{{template "base/delete_modal_actions" .}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
{{.i18n.Tr "repo.branch.delete" .HeadTarget }}
|
{{.i18n.Tr "repo.branch.delete" .HeadTarget }}
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>{{.i18n.Tr "repo.branch.delete_desc"}}</p>
|
<p>{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{template "base/delete_modal_actions" .}}
|
{{template "base/delete_modal_actions" .}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user