Open noreiller opened 1 year ago
Which issue does this fix? Fixes #4
A text node serialized with parse5 has no child so no value is returned. With these changes, we check the type and avoid the serialization.
If manual testing is required, what are the steps?
Motivation
Which issue does this fix? Fixes #4
A text node serialized with parse5 has no child so no value is returned. With these changes, we check the type and avoid the serialization.
Checklist
How to test
If manual testing is required, what are the steps?