We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Parses without throwing error:
import parse from 'html-dom-parser'; parse('<meta name="author" content="John Doe Mason />');
Throws error:
TypeError: Cannot read properties of undefined (reading 'length') at formatDOM (lib/client/utilities.js)
This is caused by the newly added line: https://github.com/remarkablemark/html-dom-parser/blob/v3.1.4/lib/client/utilities.js#L88
The text was updated successfully, but these errors were encountered:
Related to remarkablemark/html-react-parser#855
Sorry, something went wrong.
fix(client): check for "template" in utilities formatDOM
748cf27
Fixes #417
remarkablemark
Successfully merging a pull request may close this issue.
Expected Behavior
Parses without throwing error:
Actual Behavior
Throws error:
Steps to Reproduce
This is caused by the newly added line: https://github.com/remarkablemark/html-dom-parser/blob/v3.1.4/lib/client/utilities.js#L88
Reproducible Demo
Environment
Keywords
The text was updated successfully, but these errors were encountered: