We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dae58a commit 5418a4dCopy full SHA for 5418a4d
1 file changed
src/markdown.ts
@@ -14,7 +14,7 @@ function indexInList(li: Element): number {
14
function skipNode(node: Node): boolean {
15
if (node instanceof HTMLAnchorElement && node.childNodes.length === 1) {
16
const first = node.childNodes[0]
17
- if (first instanceof HTMLInputElement) {
+ if (first instanceof HTMLImageElement) {
18
return first.src === node.href
19
}
20
0 commit comments