Open varad11 opened 1 year ago
Thanks for the PR. But the merge can be delayed due to major change in the library are in progress. As a part of new development, there is a plan to introduce strict
property. If it is false
then warning will be issued but the parsing will continue.
And this is not the bug fix bu a feature :)
Purpose / Goal
When an xml/html has closing tags without opening tags, then the parser should skip it and continue it's parsing rather than blocking execution by throwing exception.
Code
Output
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'addChild')
Expected Output
Benchmark
Before Changes
After Changes
Type
Please mention the type of PR