Markdown anchor links don't work #4617

Closed
opened 2025-11-02 05:56:22 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mohe2015 on GitHub (Jan 9, 2020).

Description

Anchor links (to headers) in markdown link to #anchor instead of #user-content-anchor (modified).
See the provided link.

Originally created by @mohe2015 on GitHub (Jan 9, 2020). - Gitea version (or commit ref): a311ace354c4a00e0576943b0b0bff651fbcb066 ([master](https://github.com/go-gitea/gitea/tree/master)) - Git version: 2.24.1 - Operating system: Arch Linux - Database: SQLite - Can you reproduce the bug at https://try.gitea.io: - Yes, https://try.gitea.io/adfjiowfeiofhaehioh/test-markdown/src/branch/master/test.md ## Description Anchor links (to headers) in markdown link to `#anchor` instead of `#user-content-anchor` (modified). See the [provided link](https://try.gitea.io/adfjiowfeiofhaehioh/test-markdown/src/branch/master/test.md).
GiteaMirror added the type/enhancement label 2025-11-02 05:56:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4617