Closed romanofski closed 6 years ago
All the whitespace including and surrounding the newline should be folded into a single space.
So it should be interpreted as cli can' t be used for
, i.e. one space char after the aspotrophe.
@romanofski can you provide minimum reproducer for purebred-email itself. AFAICT it's doing the right thing.
I can try. Hm.. although when you say a single space then it seems to be doing the right thing... it just looks odd.
Checking in another mailer - mutt - it parses the mail the same. So... maybe there is no bug, it's just whatever produced the mail (guess Bugzilla) just stuffed up the word?
Yeah, no bug :) Closing.
Today I realised that the problem was actually never purebred-email. Working on the serialisation made me realise that our subject headers are still not correctly "unfolded" field bodies. Looking into this closer, I realised that we're actually showing the subject out of the index from notmuch. So it's notmuch which seems to not correctly unfolding field bodies. Once you view the mail, a folded field body (e.g the subject) is correctly shown.
I've noticed this in an e-mail today where the subject was something like:
because the e-mail underneath looked like this:
Obviously I would want it to read:
without the whitespace. Have not spent time figuring out where exactly the problem is or what it supposed to happen, but rather thought filing the bug to have a record of this.