mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update MD033/no-inline-html to ignore HTML in labels for reference links/images (fixes #658).
This commit is contained in:
parent
cba5e8d340
commit
2146bbae5f
6 changed files with 101 additions and 6 deletions
|
@ -931,7 +931,9 @@ function getReferenceLinkImageData(lineMetadata) {
|
|||
referenceData.push([
|
||||
lineIndex,
|
||||
referenceIndex,
|
||||
matchString.length
|
||||
matchString.length,
|
||||
matchText.length,
|
||||
matchLabel.length
|
||||
]);
|
||||
references.set(label, referenceData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue