forgejo/modules
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
..
actions
activitypub
analyze
assetfs
auth Replace deprecated math/rand functions (#30733) 2024-04-28 15:39:02 +02:00
avatar
base
cache
charset s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
container Add container.FilterSlice function (gitea#30339) 2024-04-16 11:49:44 +02:00
csv
emoji
eventsource
generate
git Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
gitgraph
gitrepo
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
indexer Perform Newest sort type correctly when sorting issues (#30644) 2024-04-28 15:39:00 +02:00
issue/template
json
label
lfs
log Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
markup Fix user mention processing 2024-04-30 12:51:30 +02:00
mcaptcha
metrics
migration
nosql s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
optional Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
options
packages Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
paginator
pprof
private
process Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
secret
session Avoid importing modules/web/middleware in modules/session (#30584) 2024-04-21 16:28:16 +02:00
setting Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
sitemap
ssh
storage
structs [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
svg
sync
system
templates Fix user mention processing 2024-04-30 12:51:30 +02:00
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
uri
user
util Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
validation
web Avoid importing modules/web/middleware in modules/session (#30584) 2024-04-21 16:28:16 +02:00
webhook