]> source.dussan.org Git - gitea.git/commit
Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 18 Feb 2024 01:48:59 +0000 (09:48 +0800)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2024 01:48:59 +0000 (01:48 +0000)
commita784ed3d6c6946fd9bf95f2e910f52f549326fe2
tree9946c734e07c65f193459febdc9c9d7ef91cbc1d
parentd73223bfc6fcabdfb4ca284729ccead5ba228728
Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227)

Follow #29165. These HTML strings are safe to be rendered directly, to
avoid double-escaping.
12 files changed:
templates/admin/packages/list.tmpl
templates/admin/repo/list.tmpl
templates/admin/stacktrace.tmpl
templates/org/member/members.tmpl
templates/org/team/members.tmpl
templates/org/team/sidebar.tmpl
templates/org/team/teams.tmpl
templates/repo/commit_page.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/repo/settings/webhook/settings.tmpl
templates/user/settings/organization.tmpl