为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why Rich Text (HTML Only) format email introduces line breaks (paragraph marks) in the email body in html?

  • 4 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 Zenos

more options

A sentence in rich text (change in Options, Delivery format) appears as a single sentence in browser. But when I check the page source I see that sentence has been broken in to multiple lines. Why is this done? Isn't this a bug? When viewed in a browser or application that supports rich text this does not create any problem since the line breaks are not taken into account . But I am trying to extract the text from this html and display in a nonHTML application like notepad.

Is this done on purpose?


For eg.

In browser - Honesty is the best policy

In View HTML Source - Honesty

   Is the 
   best 
          policy.
A sentence in rich text (change in Options, Delivery format) appears as a single sentence in browser. But when I check the page source I see that sentence has been broken in to multiple lines. Why is this done? Isn't this a bug? When viewed in a browser or application that supports rich text this does not create any problem since the line breaks are not taken into account . But I am trying to extract the text from this html and display in a nonHTML application like notepad. Is this done on purpose? For eg. In browser - Honesty is the best policy In View HTML Source - Honesty Is the best policy.

所有回复 (4)

more options

Screenshot attached.

more options

lets start at the beginning.

There is no such thing as rich text email, unless it in internal corporate stuff like MS Exchange, Lotus notes etc. EMail on the internet is HTML or Plain Text.

I have no options > delivery format in my settings. Is this something to do with Outlook perhaps?

Then there is your image. All those MSO objects. They stand for Microsoft Office Objects and indicate the source of the HTML as being Outlook or at least Microsoft Office. All in all I think your asking about Microsoft actions on a Mozilla forum.

more options

Hello Matt, thank you for the reply.

I am using Thunderbird ver 31. and the Delivery Format is available in a new email window under Options. (Click on Write)

In last image, mso came probably because I copied the mail content from Outlook.

more options

So it's Outlook, which is responsible for all the horrible "mso" stuff, that has chopped up the lines for you.

As Matt said, "All in all I think you're asking about Microsoft actions on a Mozilla forum."