Reimplement getReferenceLinkImageData using micromark tokens.

This commit is contained in:
David Anson 2023-01-29 20:36:53 -08:00
parent 57c612cfa4
commit 97f99befb8
13 changed files with 1235 additions and 1068 deletions

View file

@ -583,7 +583,7 @@ function lintContent(
const htmlElementRanges =
helpers.htmlElementRanges(paramsBase, lineMetadata);
const referenceLinkImageData =
helpers.getReferenceLinkImageData(lineMetadata);
helpers.getReferenceLinkImageData(paramsBase);
cache.set({
codeBlockAndSpanRanges,
flattenedLists,