Logo
Explore Gists Help
Sign In
Gitea-John71/Gitea
2
0
Fork 0
You've already forked Gitea
mirror of https://github.com/go-gitea/gitea.git synced 2026-08-28 13:25:47 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
69ea554e2362e5c4943c2463c2ec547bf631f18b
Gitea/modules/markup
T
History
Giteabot dfd960f22a Render email addresses as such if followed by punctuation (#27987) (#27991)
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:27 +08:00
..
asciicast
…
common
…
console
…
csv
…
external
…
markdown
Replace interface{} with any (#25686) (#25687)
2023-07-04 23:41:32 -04:00
mdstripper
…
orgmode
…
camo_test.go
…
camo.go
…
html_internal_test.go
Replace interface{} with any (#25686) (#25687)
2023-07-04 23:41:32 -04:00
html_test.go
Render email addresses as such if followed by punctuation (#27987) (#27991)
2023-11-11 13:26:27 +08:00
html.go
Render email addresses as such if followed by punctuation (#27987) (#27991)
2023-11-11 13:26:27 +08:00
renderer_test.go
…
renderer.go
Add RTL rendering support to Markdown (#24816)
2023-05-20 23:02:52 +02:00
sanitizer_test.go
Disallow dangerous URL schemes (#25960) (#25964)
2023-07-18 19:48:52 +00:00
sanitizer.go
Disallow dangerous URL schemes (#25960) (#25964)
2023-07-18 19:48:52 +00:00
Powered by Gitea Version: 1.26.0 Page: 1350ms Template: 54ms
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 Gists