html-parser icon indicating copy to clipboard operation
html-parser copied to clipboard

fix: keep empty text elements

Open vjousse opened this issue 1 year ago • 0 comments

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

vjousse avatar Oct 19 '24 14:10 vjousse