Exception on tables without rows, cells #54
Labels
🗄 area/interface
This affects the public interface
💪 phase/solved
Post is done
👶 semver/patch
This is a backwards-compatible fix
🐛 type/bug
This is a problem
Subject of the issue
This markup errors:
https://github.com/syntax-tree/hast-util-to-mdast/pull/53/files#diff-b6b8d72f26f12669066c4e2850f557c7
for some odd reason, in my test, it only errored if there are 2 input[type=hidden] (inside the table)
TypeError: Cannot read property 'length' of undefined
Your environment
Steps to reproduce
PR: #53
Error on travis: https://travis-ci.org/syntax-tree/hast-util-to-mdast/jobs/567626032#L699
Expected behaviour
What should happen?
no error
Actual behaviour
What happens instead?
The text was updated successfully, but these errors were encountered: