mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-24 01:40:13 +01:00
Fix inline of links with empty link. (fixes #308)
This commit is contained in:
parent
2af3dd0d7a
commit
6dc20fcc21
2 changed files with 18 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ module.exports = {
|
|||
addErrorContext(onError, child.lineNumber,
|
||||
"[" + linkText + "]()", null, null,
|
||||
rangeFromRegExp(child.line, emptyLinkRe));
|
||||
emptyLink = false;
|
||||
}
|
||||
} else if (inLink) {
|
||||
linkText += child.content;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue