1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-30 09:41:11 -05:00
forgejo/templates/mail/auth
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
..
activate.tmpl Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
activate_email.tmpl Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
register_notify.tmpl Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
reset_passwd.tmpl Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00