Logo
Explore Help
Sign In
neuron-technologies/gitea
Watch 2
Star 0
Fork 0
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
Files
a6a674e26a2c88d470f38fb09c4065c473bc7e20
gitea/modules/markup
T
History
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
Upgrade to golangci-lint@v1.55.0 (#27756)
2023-10-24 02:54:59 +00:00
mdstripper
…
orgmode
Remove title from elements on Org mode (#27968)
2023-11-10 01:45:13 +00:00
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
…
Powered by Gitea Version: 1.26.1-neuron.b1536a2384 Page: 2245ms Template: 268ms
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