Skip to content

Certain links in mdx files are skipped #1923

@aaron-siegel

Description

@aaron-siegel

If I put this in my .mdx file:

<Card
  title="Invalid Link"
  href="https://an-invalid-url.com"
>
  Some text
</Card>

then lychee correctly reports the error.

However, if it appears in a nested structure:

<CardGroup cols={1}>
  <Card
    title="Invalid Link"
    href="https://an-invalid-url.com"
  >
    Some text
  </Card>
</CardGroup>

then lychee fails to check the URL and incorrectly reports success.

I'm using lychee 0.21.0 on Mac OS 15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions