forked from gitea/gitea
1
0
Fork 0
gitea/templates
zeripath 5248232c44
Try to prevent autolinking of displaynames by email readers (#19169)
Unfortunately many email readers will (helpfully) detect url or url-like names and
automatically create links to them, even in HTML emails. This is not ideal when
usernames can have dots in them.

This PR tries to prevent this behaviour by sticking ZWJ characters between dots and
also set the meta tag to prevent format detection.

Not every email template has been changed in this way - just the activation emails but
it may be that we should be setting the above meta tag in all of our emails too.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-23 12:34:20 +00:00
..
admin Prevent 500 when there is an error during new auth source post (#19041) 2022-03-10 23:40:43 +01:00
base Remove the Go version in UI, add a link on Gitea Version to show config details (Go/Git version) (#19173) 2022-03-23 01:15:54 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
mail Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
org Fix `<strong>` html in translation (#18929) 2022-02-27 15:46:45 +00:00
repo Use the new/choose link for New Issue on project page (#19172) 2022-03-22 19:54:24 +00:00
shared Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
user Do not send activation email if manual confirm is set (#19119) 2022-03-18 17:57:07 +08:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00