Yarden Shoham 1c0566f66d
Render email addresses as such if followed by punctuation (#27987)
Added the following characters to the regular expression for the email:

- ,
- ;
- ?
- !

Also added a test case.

- Fixes #27616 

# Before

![image](https://github.com/go-gitea/gitea/assets/20454870/c57eac26-f281-43ef-a51d-9c9a81b63efa)

# After

![image](https://github.com/go-gitea/gitea/assets/20454870/fc7d5c08-4350-4af0-a7f0-d1444d2d75af)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-11-11 05:08:19 +01:00
..
2023-11-08 21:50:20 +08:00
2023-04-17 11:37:23 +08:00
2023-07-07 05:31:56 +00:00
2023-07-07 05:31:56 +00:00
2023-02-11 08:39:50 +08:00
2023-10-10 18:47:49 +08:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2023-10-31 04:43:38 +00:00
2023-09-22 23:30:31 +08:00