Existence of greater and lower signs in links gives different behaviour. #954
Labels
help wanted
L1 - broken
Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue
Hey guys,
I'm using markdown-link-extractor. And this module uses ur library as a dependency.
After extracting the links, I have different results on each link from amount of invalid links, which triggers the issues and unexpected results in my application.
For example:
Extracting from this piece of markdown
gives me:
which is right, cuz this link is invalid.
But from this one with lower sign:
it extracts:
which is not true, cuz returned link is valid, but in markdown I still have link with wrong sign.
I think that it's some kind of error with regular expressions in existing codebase of ur module.
Anyways it would be nice to have a fix on that and mb new version of lib where everything works as expected.
Thanks.
The text was updated successfully, but these errors were encountered: