Skip to content

markdown link anchor issue #3784

Closed
@tst2005

Description

@tst2005

Description

A markdown link with anchor is rendered as a html URL page%23anchor instead of page#anchor.
On https://try.gitea.io/g/test-anchor-bug/src/branch/master/README.md
the link to "foo.md#bar" is
https://try.gitea.io/g/test-anchor-bug/src/branch/master/foo.md%23bar
but should be
https://try.gitea.io/g/test-anchor-bug/src/branch/master/foo.md#bar

The README.md content:

# test-anchor-bug

* [link bug 1](foo.md#bar)
* [link bug 2][bug2]

[bug2]: foo.md#bar

Screenshots

Screenshot is not usefull.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions