mirror of
1
Fork 0
forgejo/templates/shared
wxiaoguang 70f3c32b91
Remove incorrect and unnecessary Escape from templates (#29394)
Follow #29165

* some of them are incorrect, which would lead to double escaping (eg:
`(print (Escape $.RepoLink)`)
* other of them are not necessary, because `Tr` handles strings&HTML
automatically

Suggest to review by "unified view":
https://github.com/go-gitea/gitea/pull/29394/files?diff=unified&w=0

(cherry picked from commit d2f6588b66549b33adf8bac7044d03c89d668470)

Conflicts:
	templates/code/searchcombo.tmpl
	templates/mail/auth/register_notify.tmpl
	templates/mail/issue/default.tmpl
	templates/repo/code/recently_pushed_new_branches.tmpl
	templates/repo/search.tmpl
	templates/repo/settings/protected_branch.tmpl
	templates/user/auth/activate.tmpl
	templates/user/auth/forgot_passwd.tmpl
	templates/user/dashboard/feeds.tmpl
	context
2024-02-26 22:30:27 +01:00
..
actions Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
secrets Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
user Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
variables Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
webhook Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00
blocked_users_list.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
combomarkdowneditor.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
issueicon.tmpl Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
issuelist.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
searchbottom.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
searchinput.tmpl Remove autofocus in search box (#28033) 2023-11-20 08:57:46 +00:00