1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

templates: remove superfluous SanitizeHTML

Introduced by Rename Str2html to SanitizeHTML and clarify its behavior (followup)
This commit is contained in:
Earl Warren 2024-03-10 15:51:19 +07:00
parent 365fec3dc7
commit 60aa763c51
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
53 changed files with 77 additions and 77 deletions

View file

@ -19,7 +19,7 @@
{{end}}
{{if not .DiffNotAvailable}}
<div class="diff-detail-stats gt-df gt-ac gt-fw">
{{svg "octicon-diff" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | SanitizeHTML}}
{{svg "octicon-diff" 16 "gt-mr-2"}}{{ctx.Locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion}}
</div>
{{end}}
</div>