gitea/modules/markup
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
..
asciicast
common
console
csv
external
markdown
mdstripper
orgmode
camo_test.go
camo.go
html_internal_test.go
html_test.go Render email addresses as such if followed by punctuation (#27987) 2023-11-11 05:08:19 +01:00
html.go Render email addresses as such if followed by punctuation (#27987) 2023-11-11 05:08:19 +01:00
renderer_test.go
renderer.go
sanitizer_test.go
sanitizer.go