Open
Description
Description
in a markdown file, put the html heading
<h1>Heading without ID</h1>
then gitea blob API will generate the wrong permalink #
for that heading.
github blob API would generate the permalink #heading-without-id
if the html heading has an id
gitea blob API renders the correct permalink #heading-with-id
<h1 id="heading-with-id">Heading with ID</h1>
compare:
- https://github.com/milahu/gitea-html-in-markdown-render-bug
- https://try.gitea.io/milahu/gitea-html-in-markdown-render-bug # gitea 1.22.0
- https://codeberg.org/milahu/gitea-html-in-markdown-render-bug
Gitea Version
1.22.0
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?
im using some gitea instances, i dont know how they are running gitea...
Database
None