diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-23 01:02:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 17:02:33 +0000 |
commit | 7a1557d2cc893030ae900c4333eeb12d84b891dc (patch) | |
tree | 4e9e30c2f12419d46dfba40dd17de93bf1248b78 /templates/repo/pulse.tmpl | |
parent | f390d5eb4f4db21eeacdf2e7a093f6bd4e87c96f (diff) | |
download | gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.tar.gz gitea-7a1557d2cc893030ae900c4333eeb12d84b891dc.zip |
Remove unnecessary "Safe" modifier from templates (#29318)
Follow #29165
Diffstat (limited to 'templates/repo/pulse.tmpl')
-rw-r--r-- | templates/repo/pulse.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/pulse.tmpl b/templates/repo/pulse.tmpl index ccd7ebf6b5..e6a59ea8c6 100644 --- a/templates/repo/pulse.tmpl +++ b/templates/repo/pulse.tmpl @@ -33,7 +33,7 @@ <a class="table-cell tiny background light grey"></a> </div> {{end}} - {{ctx.Locale.TrN .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n" .Activity.ActivePRCount | Safe}} + {{ctx.Locale.TrN .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n" .Activity.ActivePRCount}} </div> {{end}} {{if .Permission.CanRead $.UnitTypeIssues}} @@ -48,7 +48,7 @@ <a class="table-cell tiny background light grey"></a> </div> {{end}} - {{ctx.Locale.TrN .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n" .Activity.ActiveIssueCount | Safe}} + {{ctx.Locale.TrN .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n" .Activity.ActiveIssueCount}} </div> {{end}} </div> |