Skip to content

Relative paths in Markdown <img> tags not working #16336

Closed
@moqmar

Description

@moqmar

Description

<img src="test.jpg> in Markdown files now refers to the relative path as the browser would see it, while ![](test.jpg) refers to the relative path in the repository - before, both would work as a relative path. This was discovered in https://codeberg.org/Codeberg/Community/issues/478 and is explained there in more detail; also see the example repository (the uppermost two images were rendering before the commit referenced above and now aren't anymore).

Seems like this is a regression to #8830, which was solved by #10515. The problematic PR is #16098

Screenshots

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions