Open tysonzero opened 2 years ago
https://github.com/polimorphic/html-to-text
Feel free to merge whichever parts in to tagsoup
Thanks for the comment - I'm not really actively maintaining tagsoup, so will try and find a different maintainer who can see if this is worthwhile or not.
Currently
innerText
converts<p>foo</p><p>bar</p>
tofoobar
.It would be nice to have a
toText
that does something like the following: