1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-28 18:31:34 +02:00
gitea/modules/markup
Yarden Shoham 63ebb53fd5
Add link to user profile in markdown mention only if user exists (#21533)
Previously mentioning a user would link to its profile, regardless of
whether the user existed. This change tests if the user exists and only
if it does - a link to its profile is added.

* Fixes #3444

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-23 01:15:52 +08:00
..
common
console
csv
external
markdown Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
mdstripper
orgmode
camo_test.go
camo.go
html_internal_test.go
html_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
html.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
renderer_test.go
renderer.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
sanitizer_test.go
sanitizer.go Add color previews in markdown (#21474) 2022-10-21 20:00:53 +08:00