gitea/routers
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
..
api Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix read system configuration bug when installing (#21489) 2022-10-18 23:16:58 +08:00
private log real ip of requests from ssh (#21216) 2022-10-11 16:57:37 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Remove deleted repos from searchresult (#21512) 2022-10-22 17:23:20 +08:00
init.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00