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.
forgejo/modules/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>
2 years ago
..
base.go format with gofumpt (#18184) 2 years ago
dynamic.go format with gofumpt (#18184) 2 years ago
helper.go Try to prevent autolinking of displaynames by email readers (#19169) 2 years ago
helper_test.go Use templates for issue e-mail subject and body (#8329) 5 years ago
static.go format with gofumpt (#18184) 2 years ago
templates_bindata.go Remove golang vendored directory (#18277) 2 years ago