becheran / mlc

Check for broken links in markup files
MIT License
129 stars 17 forks source link

Unable to extract link if on the same line as inline code block #34

Closed alexiri closed 3 years ago

alexiri commented 3 years ago

Describe the bug mlc currently fails to find a valid link if it's on the same line as an inline code block.

To Reproduce Steps to reproduce the behavior:

  1. This md file:
    `bug` [code](http://example.net/), link!.
  2. This command: 'mlc .'
  3. See error: no link found

Expected behavior A link should be found

Additional context Test case submitted in PR #33.

becheran commented 3 years ago

Thanks for reporting! Fixed in PR #33. Release 0.14.3 contains the fix.