rehype-minify-whitspace: TypeError: Cannot read properties of undefined (reading 'hidden') #49
Closed
4 tasks done
Labels
🙅 no/wontfix
This is not (enough of) an issue for this project
👎 phase/no
Post cannot or will not be acted on
Initial checklist
Affected packages and versions
[email protected]
Link to runnable example
No response
Steps to reproduce
passing a node w/o
properties
causes an error in:https://github.com/rehypejs/rehype-minify/blob/main/packages/rehype-minify-whitespace/lib/index.js#L291
Expected behavior
node w/o properties should be ignored.
Actual behavior
node w/o properties causes an error.
Runtime
Node v16
Package manager
npm 8
OS
macOS
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: