0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-22 13:57:46 -05:00
forgejo/modules/markup/markdown
Yarden Shoham 63ebb53fd5
Add link to user profile in markdown mention only if user exists ()
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 

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
..
math Fix slight bug in katex () 2022-10-05 19:55:36 +01:00
ast.go Add color previews in markdown () 2022-10-21 20:00:53 +08:00
convertyaml.go
goldmark.go Add color previews in markdown () 2022-10-21 20:00:53 +08:00
markdown.go
markdown_test.go Add link to user profile in markdown mention only if user exists () 2022-10-23 01:15:52 +08:00
meta.go Remove unnecessary debug log () 2022-10-22 15:25:34 +08:00
meta_test.go Fix slight bug in katex () 2022-10-05 19:55:36 +01:00
renderconfig.go Fix slight bug in katex () 2022-10-05 19:55:36 +01:00
renderconfig_test.go Fix slight bug in katex () 2022-10-05 19:55:36 +01:00
toc.go