為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I prevent Thunderbird from re-flowing and indenting my html?

  • 5 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 Toad-Hall

more options

Is there any way to prevent thunderbird from inserting indentation whitespace into my HTML?

the resultant HTML is sent as format=flowed and makes for a line-breaking nightmare to debug.

I'm trying to debug formatting issues with GMail and I strongly believe that the indentation + word-wrapping of the html is harming me.  

currently have configured: mail.wrap_long_lines=false mailnews.wraplength=0

Is there any way to prevent thunderbird from inserting indentation whitespace into my HTML? the resultant HTML is sent as format=flowed and makes for a line-breaking nightmare to debug. I'm trying to debug formatting issues with GMail and I strongly believe that the indentation + word-wrapping of the html is harming me. currently have configured: mail.wrap_long_lines=false mailnews.wraplength=0

所有回覆 (5)

more options

I can't give debug assistance, but I have mail.wrap_long_lines set to true and mailnews.wraplength=0 and have no problems, so I suggest testing with mail.wrap_long_lines to true, not false. Also, you may find it helpful to install the addon, ThunderHTMLedit, so you can easily see the HTML being created for your messages.

more options

messing with mail.wrap_long_lines doesn't seem to affect anything. same problem.

using ThunderHTMLEdit doesn't help. Even if I remove the whitespace from each line, the email is sent indented with format=flowed.

more options

argh, looks like this is https://bugzilla.mozilla.org/show_bug.cgi?id=822741 which is unresolved, alas.

more options

My reasoning in proposing that addon for HTML is that it would allow you to see what HTML was being created. If you are pasting from Word, you are interfering with TB doing that. Posting from Word is problematic in TB and in many other programs that allow text insertion.

more options

Could you post an image showing an example of your issue. In the bug report it shows images where the person was using a bullet point.

Are you copy pasting text from eg: MSWord etc ? Are you using 'Reply' which may include html inherited from the received email?

When you compose - formatting bar - what are you using in the first and second boxes - eg: Body Text and Variable width ?


I'm using the following with no issues.

  • mail.wrap_long_lines=true
  • plain_text.wrap_long_lines = true
  • mail.compose.wrap_to_window_width = true
  • mailnews.wraplength = 80
  • mailnews.display.disable_format_flowed_support =false
  • mailnews.send_plaintext_flowed =true

由 Toad-Hall 於 修改