-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Mentions in comments (@User) no longer highlighted #33518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same on Version: 1.23.3. Worked without problem in 1.22 Even mentioning users that are not autocompleted sometimes work UPDATE: |
Thank you very much, it seems to be a root reason. Maybe related to some refactoring changes. Will try to take a look. |
Update: outdated, I think I know the problem now. |
@wxiaoguang thanks for taking a look and fixing 💟 Not leaking hidden users is fine, but at least the users that are shown in the autocomplete popup should also be linked (as their presents is already leaked) 😉 |
Yes, it will be backported to 1.23 (I have marked #33554 as "backport/1.23") Actually it is a regression in 1.23, the full story is like this:
It tells us that we need to follow framework's design to write code (again) 😆 |
Some old code use direct type-casting to get context, it causes problems. This PR fixes all legacy problems and use correct `ctx.Value` to get low-level contexts. Fix #33518
Works. thanks 💓 |
Description
Previously, mentioned user was rendered as user name and link, now it is not. May be something related to mentions also broken
Screenshots
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
No
Operating System
No response
Browser Version
130
The text was updated successfully, but these errors were encountered: