Logo
Explore Help
Sign In
tdsds.com/gitea
Watch 1
Star 1
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00
Code Releases Activity
Files
073d8c50dd78264bae824df10210546b3f87c7d5
gitea/modules/markup
T
History
GiteabotGitHubYarden Shoham
2691b345e6 Render email addresses as such if followed by punctuation (#27987) (#27992)
Backport #27987 by @yardenshoham

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>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
2023-11-11 13:26:18 +08:00
..
asciicast
…
common
Make user-content-* consistent with github (#26388)
2023-08-09 09:30:31 +00:00
console
…
csv
…
external
…
markdown
…
mdstripper
…
orgmode
fix media description render for orgmode (#26895)
2023-09-13 05:44:59 +00:00
camo_test.go
…
camo.go
…
html_internal_test.go
Do not highlight #number in documents (#26365)
2023-08-07 15:11:25 +02:00
html_test.go
Render email addresses as such if followed by punctuation (#27987) (#27992)
2023-11-11 13:26:18 +08:00
html.go
Render email addresses as such if followed by punctuation (#27987) (#27992)
2023-11-11 13:26:18 +08:00
renderer_test.go
…
renderer.go
…
sanitizer_test.go
…
sanitizer.go
…
Powered by Gitea Version: 1.27.1 Page: 9670ms Template repo/view: 47ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API