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
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
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go
util_render.go
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