Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following is especially annoying on XML / HTML / XSL / etc user groups and mailing lists. When I create a new plain-text message and type the following message in Thunderbird 9.0.1:

Check this code:
    <world />

it will be received as

Check this code:
<world />

Oddly enough, this behavior doesn't happen when a sentence doesn't start with a <-symbol. In my own Sent-folder the leading spaces are removed too. When I send as HTML mail, the problem doesn't appear. Does anybody know of a way around this?

EDIT: result of extensive comment-discussion have been moved into the body of the text.

share|improve this question
I can't replicate this issue. But my Thunderbird is set up to send plain-text messages only. That might have something to do with it. – Oliver Salzburg Jan 29 '12 at 22:24
@Oliver: I've tried both plain-text and formatted. Perhaps the message is send correctly, but the display if it is incorrect? I.e., I could try sending you a message and perhaps it looks OK on the other side. Note that not all messages that I receive seem to have this problem. – Abel Jan 29 '12 at 22:26
I also viewed the received message in Thunderbird. It was displayed correctly. You might want to check the message source (Ctrl+U) and see if the spaces are in there. – Oliver Salzburg Jan 29 '12 at 22:29
@Oliver: it wasn't "all" messages, I seem to still receive messages with and without leading spaces from XML-style source. The Ctrl-U source is without spaces as well. When I look at the source of a draft-message, the &nbsp; leading spaces are all there... – Abel Jan 29 '12 at 22:33
@Oliver: I found something new. Sending with formatting keeps it. However, when sending in plain-text, it removes the leading space. When sending it mixed, and it's displayed in a plain-text mailing list, the leading spaces are gone as well. – Abel Jan 29 '12 at 22:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.