forgejo-federation/templates/base
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
..
alert.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 2024-03-06 12:10:45 +08:00
alert_details.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 2024-03-06 12:10:45 +08:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer.tmpl Remove DataRaceCheck (#29258) 2024-02-19 22:58:33 +01:00
footer_content.tmpl [BRANDING] Rebrand footer "powered by" links 2024-02-05 16:02:13 +01:00
head.tmpl Remove RenderEmojiPlain from template helper (#29375) 2024-02-26 22:30:27 +01:00
head_navbar.tmpl Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
head_opengraph.tmpl Avoid unnecessary 500 panic when a commit doesn't exist (#28719) 2024-01-07 18:20:22 +08:00
head_script.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
head_style.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
modal_actions_confirm.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
paginate.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00