basic html pre-tags makes cron's emails easier to read.
except on apple's mail client... which is behaving utterly insane no matter how i'm trying to format stuff.
Details
- Reviewers
- None
- Group Reviewers
Contributor Reviews (src)
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
I think this is an interesting idea, but would be better to put behind an option or config and for not changing the default behavior.
OTOH, if some sort of the client cannot display plain text format mails correctly, would it make more sense to fix it or let the mail be passed through a filter?
I have no hope of Apple ever fixing their stuff... iOS mail has been broken in "interesting" ways for years now.
I'll play around a bit more with the CSS to find out if anything makes this work on iOS.
btw an alternative place for this would be in mail(1), in particular for periodic emails. But to be honest, cron's code was much easier to read...
fwiw, the email app in iphone ios 15.2.1 no longer line-breaks pre-formatted text. but the app ui goes all wonky.