Closed ckruse closed 3 years ago
Hi,
given this source code:
foo[^1] bar[^2]. [^1]:[^2]: baz
markdown-it-footnote fails with this error and stacktrace:
Uncaught TypeError: state.tokens[(state.tokens.length - 1)] is undefined footnote_tail index.js:338 process parser_core.js:51 parse index.js:524
While I understand that this is no valid markdown I don't think the parser should fail. Is this a bug?
Best regards, CK
That's a bug. Markdown source can not be "invalid".
fixed, thanks for reporting
Thank you very much for your work!
Hi,
given this source code:
markdown-it-footnote fails with this error and stacktrace:
While I understand that this is no valid markdown I don't think the parser should fail. Is this a bug?
Best regards, CK