Skip to content

Calling your repo 'src' breaks rendering of relative paths in markdown #26792

Closed
@orre

Description

@orre

Description

Reproducer Repo: https://try.gitea.io/Orjan/src

As shown, the rendering of README.md is broken - images are not showing up at all and the links themselves are also broken.

Compare this with https://try.gitea.io/aybe/markdown-branch where everything is rendered correctly.

The only difference of the repos I see is their names. Mine is called src, and this seems to trigger the problem.

Of course I could name my repo differently, but that dosn't address the real issue.

Gitea Version

1.21.0+dev-651-g60ca3d04a

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?

I'm using latest version on https://try.gitea.io.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions