rougier / mastodon-alt

Emacs alternative mastodon layout
GNU General Public License v3.0
46 stars 10 forks source link

Fix for certain toots containing line breaks #24

Closed deen1 closed 6 months ago

deen1 commented 7 months ago

New customizable option mastodon-alt-tl-toot-refill, default value t, which determines if toot content is re-filled before being displayed in box. If set to nil, issues with displaying line breaks in e.g. Wordle scores are fixed -- although so far this works only in toots that are not boosts or inside Content-Warning boxes.

For example, when mastodon-alt-tl-toot-refill is set to t, line breaks don't show in toots like the following:

2024-02-24-212503_796x284_scrot

But when mastodon-alt-tl-toot-refill is set to nil, we have nice behavior:

2024-02-24-212423_558x479_scrot

Unfortunately, doesn't work in toots inside content warning or boost boxes (yet):

2024-02-24-213603_1043x706_scrot

rougier commented 6 months ago

Sorry for delay and many thanks for the patch.