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
milahu
changed the title
markdown: commit archive link is rendered as commit link
markdown: commit archive link is rendered as broken commit link
Mar 26, 2024
Description
when i put a commit archive link in markdown
then gitea shows
with the broken url
when it should show
branch archive links work as expected
so this seems to be an issue with the commit hash regex
[0-9a-f]{40}
repro https://try.gitea.io/milahu/test-gitea-markdown-wrong-commit-url/src/branch/main/readme.md#commit-archive-links-in-markdown
ping @KN4CK3R via #28909 #29404
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?
.
Database
None
The text was updated successfully, but these errors were encountered: