Skip to content

Gitea 1.21.4 adds 'user-content-' in markdown file #29196

Closed
@makar112233

Description

@makar112233

Description

Hi.
I can't navigate through .md file in my repo, because all links in headers are converting from readme.md#_toc152597800 to readme.md#user-content-_toc152597800 and it breaks navigation through file.
I read, that it was fixed in #11903 but I can reproduce it in my local instance and in public Gitea instance: https://try.gitea.io/wenofib626/user-content/src/branch/main/readme.md

Gitea Version

1.21.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.43.0

Operating System

linux

How are you running Gitea?

Self-hosted, systemd

Database

PostgreSQL

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions