soundasleep / html2text

A PHP component to convert HTML into a plain text format
MIT License
475 stars 135 forks source link

Improve newline handling #95

Closed bytestream closed 2 years ago

bytestream commented 2 years ago

Closes #94

edgrosvenor commented 2 years ago

@bytestream I haven't looked at this because it's still marked as a draft. I'll be doing some work on this package this weekend, so if this PR is ready to be reviewed and maybe merged in, let me know. Thanks!

bytestream commented 2 years ago

@edgrosvenor I was having a hard time getting the implementation to work in the context of this lib; every change would break a test. I ended up writing my own implementation and copying over the tests.

I'll close this and the associated issue given it's perhaps niche.