html-parser
html-parser copied to clipboard
fix: keep empty text elements
Text elements with only spaces (like the one between two tags) should not be removed. I'm new to Pest so I hope that the proposed change makes sense. Don't hesitate if you want me to do it differently.
It fixes the problem in this comment: https://github.com/mathiversen/html-parser/pull/23/files/4b2e40933fb2080322537af11bea917b2d2e2781#r923896152