Skip to content

Improper relative path parsing, URLs parsed as Markdown #215

Description

@MiYanni

The URLs provided are:

..\..\build\import\Versions.props
..\..\version.json

The link checker shows these as an error:

FILE: ./.github/ISSUE_TEMPLATE/branch-checklist.md
[✖] ....\build\import\Versions.props
[✖] ....\version.json

ERROR: 2 dead links found!
[✖] ....\build\import\Versions.props → Status: 400
[✖] ....\version.json → Status: 400

As you can see, the backslash \ is gone. I wondered if this was just a rendering issue in the log. It was not. If I change the URLs to this, they pass.

..\\..\build\import\Versions.props
..\\..\version.json

This escapes (in Markdown) that backslash and now the URLs pass. This should not be necessary as URLs should not be parsed as Markdown in this way.

If I write the original paths not using a Code block in this issue description, you can see they render the same as shown in the log. This leads me to believe they are parsed improperly as Markdown.

....\build\import\Versions.props
....\version.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions