mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-24 01:40:13 +01:00
Update MD039/no-space-in-links to handle RegExp match failure (fixes #262).
This commit is contained in:
parent
0f73f06232
commit
67d1476ed8
2 changed files with 20 additions and 9 deletions
|
|
@ -45,3 +45,8 @@ function MoreCodeButNotCode(input) {
|
|||
[Links](ending)
|
||||
[with](spaces)
|
||||
[error ]({MD039})
|
||||
|
||||
Wrapped [ link with leading space
|
||||
](https://example.com) {MD039}
|
||||
|
||||
Non-wrapped [ link with leading space](https://example.com) {MD039}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue