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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
const doc = IDOMParser.parse(html, { ignoreTags: ['script', 'style', 'head'], onlyBody: true, });
this is the output i get. when i run this on some html. It works fine on other html
LOG Found onlyBody executing <(body)(.?)>(.| )?</(body)> LOG Found ignoreTags executing (<(script|style|head)(.?)>(.| )?</(script|style|head)>)|(<(script|style|head)(.*?)/>) WARN Possible Unhandled Promise Rejection (id: 2): TypeError: Cannot read property 'filter' of undefined
The text was updated successfully, but these errors were encountered:
This cannot be a library issue as there dose not containes any async or Promise operations.
async
Promise
The error must be somewhere in your code.
Sorry, something went wrong.
No branches or pull requests
const doc = IDOMParser.parse(html, {
ignoreTags: ['script', 'style', 'head'],
onlyBody: true,
});
this is the output i get. when i run this on some html. It works fine on other html
LOG Found onlyBody executing <(body)(.?)>(.|
)?</(body)>
LOG Found ignoreTags executing (<(script|style|head)(.?)>(.|
)?</(script|style|head)>)|(<(script|style|head)(.*?)/>)
WARN Possible Unhandled Promise Rejection (id: 2):
TypeError: Cannot read property 'filter' of undefined
The text was updated successfully, but these errors were encountered: