forgejo/modules/templates
Gergely Nagy 9a01062ae2
Fix user mention processing
When mentioning a user, the markup post-processor did not handle the
case where the mentioned user did not exist well: it tried to skip to
the next node, which in turn, ended up skipping the rest of the line.

To fix this, lets skip just the mentioned, but non-existing user, and
continue processing the current node from there.

Fixes #3535.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-30 12:51:30 +02:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
helper_test.go
htmlrenderer.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
htmlrenderer_test.go
mailer.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
main_test.go [BUG] Render correct label link 2024-04-12 17:23:20 +02:00
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go Avoid losing token when updating mirror settings (#30429) 2024-04-15 20:01:36 +02:00
util_render.go [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
util_render_test.go Fix user mention processing 2024-04-30 12:51:30 +02:00
util_slice.go
util_string.go
util_string_test.go
util_test.go