You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin Prevent 500 when there is an error during new auth source post (#19041) (#19059) 3 years ago
base Support webauthn (#17957) 3 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Add archived label for code search results in archived repo's (#17817) 3 years ago
mail Try to prevent autolinking of displaynames by email readers (#19169) (#19183) 3 years ago
org Fix `<strong>` html in translation (#18929) (#18931) 3 years ago
repo Use the new/choose link for New Issue on project page (#19172) (#19176) 3 years ago
shared Unify and simplify TrN for i18n (#18141) 3 years ago
status Refactor HTTP request context (#17979) 3 years ago
swagger Add MirrorUpdated field to Repository API type (#18267) 3 years ago
user Do not send activation email if manual confirm is set (#19119) (#19122) 3 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Refactor install page (db type) (#17919) 3 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago