-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'end' of null #11
Comments
Did this actually happen in practice? |
Yes, I have an error in the code that led me down that path. |
Thanks! |
I will raise a PR later today. Thanks |
Might (Also) be an issue in parse5 if they don't provide the correct positional information 🤔 |
hast-util-from-parse5/index.js
Line 158 in c9b1e27
position(pos.startTag)
could returnnull
, but that branch isn't expected by the code that fails.The text was updated successfully, but these errors were encountered: