markdown-it-classy icon indicating copy to clipboard operation
markdown-it-classy copied to clipboard

Error occurs when parsing empty header cell

Open ucev opened this issue 7 years ago • 0 comments

I integrate markdown-it in my website and it works fine. But when i use this plugin to parse following code, error occurs

 |        |   a    |    b  |
 | :--- | :--- | : --- |
 |1      | A     |     B |
TypeError: tokens[(numChildren - 1)] is undefined

ucev avatar Mar 31 '17 14:03 ucev