You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anchors with non-ASCII symbols encodes twice and then isn't working anymore. Disabling javascript helps.
Create wiki page with title
# 气候宜人
It renders as #user-content-%E6%B0%94%E5%80%99%E5%AE%9C%E4%BA%BA but javascript modifies this to #%25E6%25B0%2594%25E5%2580%2599%25E5%25AE%259C%25E4%25BA%25BA
crackedmind
changed the title
Incorrect rendering links to anchors for non-ASCII symbols on wiki TOC
Incorrect links to anchors for non-ASCII symbols on wiki TOC
Mar 18, 2024
crackedmind
changed the title
Incorrect links to anchors for non-ASCII symbols on wiki TOC
Broken links to anchors for non-ASCII symbols on wiki TOC
Mar 18, 2024
Description
Anchors with non-ASCII symbols encodes twice and then isn't working anymore. Disabling javascript helps.
Create wiki page with title
It renders as
#user-content-%E6%B0%94%E5%80%99%E5%AE%9C%E4%BA%BA
but javascript modifies this to#%25E6%25B0%2594%25E5%2580%2599%25E5%25AE%259C%25E4%25BA%25BA
Seems it is regression since #29666 #29305
Gitea Version
1.21.8
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
from command line
Database
SQLite
The text was updated successfully, but these errors were encountered: