Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Tab character in subject header shows as whitespace #13
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.
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?
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.