Releases: mailproto/textplain
Releases · mailproto/textplain
v0.2.9
What's Changed
- Fix word wrap on line shorter than line length by @martinezdelariva in #18
New Contributors
- @martinezdelariva made their first contribution in #18
Full Changelog: v0.2.8...v0.2.9
v0.2.8: Fix bug in whitespace cleanup
Fixes an indexing bug in the tree converter when determining if inside an unordered list
v0.2.7: DefaultConverter & Fix bounds error on long trailing whitespace (#16)
Even longer trailing whitespace results in a different out-of-bounds issue due to slice bounds issues. The wrapper could do with a rewrite, but in the meantime, this ensures we don't ever try and grab an invalid slice
v0.2.6: Fix edge case in Wrap (#15)
startIdx can be equal to `len(line)` - this breaks properly in that case
v0.2.5: Fix closing bracket wrapping (#13)
fixes other possible wrongly wrapped bracket. to be followed up in future with a fix to make the text wrapper braces aware
v0.2.4: Support for non-alt images with links (#12)
An image wrapped in a link becomes just the link if it is missing alt text
Fix for span processing and paragraph leading lines
Linting and fix paragraph prefixing (#11) Fixes an issue with spans eating their siblings, and leading lines before paragraphs
Improved line break handling
Fixes an issue with line breaks in bracketed values impacting line-breaking urls
Better lists
Fixes list handling quirks in the tree plaintext
tree plaintext
html tree plaintext Adds a new implementation of the textplain converter written from scratch to directly traverse the HTML tree instead of using regular expressions