Skip to content

Releases: mailproto/textplain

v0.2.9

08 Mar 14:39
b0b9d85
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.8...v0.2.9

v0.2.8: Fix bug in whitespace cleanup

01 Aug 13:39
a95443a
Compare
Choose a tag to compare

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)

30 Mar 18:50
d1eee75
Compare
Choose a tag to compare
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)

30 Mar 16:11
e9756d8
Compare
Choose a tag to compare
startIdx can be equal to `len(line)` - this breaks properly in that case

v0.2.5: Fix closing bracket wrapping (#13)

29 Mar 22:42
01dde99
Compare
Choose a tag to compare
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)

29 Mar 21:59
2e6d4ed
Compare
Choose a tag to compare
An image wrapped in a link becomes just the link if it is missing alt
text

Fix for span processing and paragraph leading lines

29 Mar 20:48
1748b27
Compare
Choose a tag to compare
Linting and fix paragraph prefixing (#11)

Fixes an issue with spans eating their siblings, and leading lines
before paragraphs

Improved line break handling

29 Mar 17:51
8b49286
Compare
Choose a tag to compare

Fixes an issue with line breaks in bracketed values impacting line-breaking urls

Better lists

27 Mar 15:27
3509c10
Compare
Choose a tag to compare

Fixes list handling quirks in the tree plaintext

tree plaintext

09 Mar 22:12
66a1eb8
Compare
Choose a tag to compare
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