mirror of
1
Fork 0
forgejo/templates/repo/settings
wxiaoguang a44805e5b3
Remove unnecessary SanitizeHTML from code (#29575)
* "mail/issue/default.tmpl": the body is rendered by backend
`markdown.RenderString() HTML`, it has been already sanitized
* "repo/settings/webhook/base_list.tmpl": "Description" is prepared by
backend `ctx.Tr`, it doesn't need to be sanitized

(cherry picked from commit dae7f1ebdbe19620f40e110b285f7c0ecd0bb33b)
2024-03-11 23:36:58 +07:00
..
units Rename Str2html to SanitizeHTML and clarify its behavior (followup) 2024-03-06 12:10:45 +08:00
webhook Remove unnecessary SanitizeHTML from code (#29575) 2024-03-11 23:36:58 +07:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
branches.tmpl Replace some `gt-` classes with `tw-` (#29570) 2024-03-11 23:36:57 +07:00
collaboration.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
deploy_keys.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (followup) 2024-03-06 12:10:45 +08:00
githook_edit.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
githooks.tmpl Replace some `gt-` classes with `tw-` (#29570) 2024-03-11 23:36:57 +07:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Use flex-container for repo and org settings (#27418) 2023-10-04 08:47:54 +02:00
lfs.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
lfs_file.tmpl Refactor Safe modifier (#29392) 2024-02-26 22:30:27 +01:00
lfs_file_find.tmpl Remove RenderEmojiPlain from template helper (#29375) 2024-02-26 22:30:27 +01:00
lfs_locks.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
lfs_pointers.tmpl Replace some `gt-` classes with `tw-` (#29570) 2024-03-11 23:36:57 +07:00
navbar.tmpl Show more settings for empty repositories (#29130) 2024-02-14 21:44:24 +01:00
options.tmpl Replace some `gt-` classes with `tw-` (#29570) 2024-03-11 23:36:57 +07:00
protected_branch.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
push_mirror_sync_modal.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
tags.tmpl Replace some `gt-` classes with `tw-` (#29570) 2024-03-11 23:36:57 +07:00
units.tmpl Split out repository unit settings 2024-02-13 22:42:09 +01:00