forgejo/templates/repo/issue
wxiaoguang 2892aaab02
Rename Str2html to SanitizeHTML and clarify its behavior (#29516)
Str2html was abused a lot. So use a proper name for it: SanitizeHTML

And add some tests to show its behavior.

(cherry picked from commit fb42972c057364a1dc99dfb528554e7a94415be7)

Conflicts:
	docs/content/administration/mail-templates.en-us.md
	docs/content/administration/mail-templates.zh-cn.md
	prefer their version always
2024-03-06 12:10:45 +08:00
..
fields Fix required checkboxes in issue forms (#27592) 2023-10-19 11:43:15 +00:00
labels Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
milestone Improve the list header in milestone page (#27302) 2023-10-18 00:03:42 +00:00
view_content Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 2024-03-06 12:10:45 +08:00
branch_selector_field.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
card.tmpl Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
choose.tmpl Remove RenderEmojiPlain from template helper (#29375) 2024-02-26 22:30:27 +01:00
comment_tab.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
filter_actions.tmpl Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
filter_list.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
filters.tmpl Refactor template empty checks (#28351) 2023-12-04 15:48:42 -06:00
label_precolors.tmpl Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
labels.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
list.tmpl Show total TrackedTime on issue/pull/milestone lists (#26672) 2023-10-19 14:08:31 +00:00
milestone_issues.tmpl Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
milestone_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
milestones.tmpl Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
navbar.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
new.tmpl
new_form.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
openclose.tmpl Add ability to see open and closed issues at the same time (#28757) 2024-01-15 15:07:22 +00:00
search.tmpl Improve the list header in milestone page (#27302) 2023-10-18 00:03:42 +00:00
view.tmpl
view_content.tmpl Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
view_title.tmpl [UI] Agit: Add link to docs and tooltip to label 2024-02-27 17:46:58 +00:00