Update MD039/no-space-in-links to handle RegExp match failure (fixes #262).

This commit is contained in:
David Anson 2020-03-07 19:49:57 -08:00
parent 0f73f06232
commit 67d1476ed8
2 changed files with 20 additions and 9 deletions

View file

@ -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}