-
-
Notifications
You must be signed in to change notification settings - Fork 19
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 compile unknown node login
#44
Comments
Hi!
|
Thanks for getting back so quickly! After digging more I see that this package is not the source of the issue, opened an issue over there instead: syntax-tree/hast-util-from-html#8
Sadly I'm not the author of the HTML thats being parsed, not in my control. I expect the HTML parsing to not break if there's non-standard properties.
I apologize for the rushed issue. Now added reproduction and found a fix.
The issue in the end has already been fixed in Adding this to my package.json fixes the issue 🎉 "pnpm": {
"overrides": {
"hast-util-from-parse5@8.0.1>hastscript": "9.0.0"
}
} |
Hi! This was closed. Team: If this was fixed, please add |
Released in |
Initial checklist
Affected packages and versions
hast-util-to-html@9.0.3
Link to runnable example
No response
Steps to reproduce
Expected behavior
No error is thrown or I can allow undefined values on attributes when stringifying
Actual behavior
Crashes when
type
is bogus valueAffected runtime and version
node@20.17.0
Affected package manager and version
pnpm@9.4.0
Affected OS and version
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: