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/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>
1 year ago
..
asciicast Support asciicast files as new markup (#22448) 2 years ago
common Make `user-content-* ` consistent with github (#26388) 2 years ago
console Add context when rendering labels or emojis (#23281) 2 years ago
csv Add context when rendering labels or emojis (#23281) 2 years ago
external Log STDERR of external renderer when it fails (#22442) 2 years ago
markdown Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
mdstripper Implement FSFE REUSE for golang files (#21840) 2 years ago
orgmode Remove `title` from elements on Org mode (#27968) 1 year ago
camo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
camo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
html.go Render email addresses as such if followed by punctuation (#27987) 1 year ago
html_internal_test.go Do not highlight `#number` in documents (#26365) 2 years ago
html_test.go Render email addresses as such if followed by punctuation (#27987) 1 year ago
renderer.go Add RTL rendering support to Markdown (#24816) 2 years ago
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2 years ago
sanitizer.go Render plaintext task list items for markdown files (#26186) 2 years ago
sanitizer_test.go Render plaintext task list items for markdown files (#26186) 2 years ago