This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/templates
zeripath bb0e2121a3
Try to prevent autolinking of displaynames by email readers (#19169) (#19183)
Backport #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 15:18:11 +02:00
..
admin Prevent 500 when there is an error during new auth source post (#19041) (#19059) 2022-03-13 03:42:31 +01:00
base Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add archived label for code search results in archived repo's (#17817) 2021-11-26 16:49:31 +08:00
mail Try to prevent autolinking of displaynames by email readers (#19169) (#19183) 2022-03-23 15:18:11 +02:00
org Fix <strong> html in translation (#18929) (#18931) 2022-02-27 15:46:34 +00:00
repo Use the new/choose link for New Issue on project page (#19172) (#19176) 2022-03-23 09:41:12 +08:00
shared Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Add MirrorUpdated field to Repository API type (#18267) 2022-01-18 13:18:30 +00:00
user Do not send activation email if manual confirm is set (#19119) (#19122) 2022-03-19 14:20:42 +00: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