pytest-check-links
pytest-check-links copied to clipboard
Fails when link contains parenthesis "(" or ")"
Description
The Link check fails if a parenthesis symbol, i.e. "(" or ")", is part of the URL.
Reproduce
e.g. try:
https://en.wikipedia.org/wiki/Cohesion_(computer_science)
Currently, this will be recognised as "https://en.wikipedia.org/wiki/Cohesion_", which then of course fails!
Expected behavior
Correct parsing of Link, probably will need some parenthesis-tracking or similar.
Context
Probably all versions & platforms