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

搜索 | 用户支持

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

详细了解

Pasting plain text into Thunderbird: <p> tags instead of <br><br>?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Toad-Hall

more options

I often compose messages in a plain-text editor (e.g., Notepad++, Atom) and paste into a new Thunderbird message.

Thunderbird converts line breaks into
tags; if I use two 'returns' between lines, I get "

." This is regardless of my setting for "Use Paragraph format instead of Body Text by default."

Is there any way to get Thunderbird to recognize two plain-text returns as a paragraph break, so I get

tags instead? I've tried different line breaks in my editor (CR LF, CR, and LF) and different encodings (UTF-8, ANSI), but no joy. Thanks for any suggestions!

I often compose messages in a plain-text editor (e.g., Notepad++, Atom) and paste into a new Thunderbird message. Thunderbird converts line breaks into <br> tags; if I use two 'returns' between lines, I get "<br><br>." This is regardless of my setting for "Use Paragraph format instead of Body Text by default." Is there any way to get Thunderbird to recognize two plain-text returns as a paragraph break, so I get <p> tags instead? I've tried different line breaks in my editor (CR LF, CR, and LF) and different encodings (UTF-8, ANSI), but no joy. Thanks for any suggestions!

所有回复 (2)

more options

Oops, seems my examples were treated as code! Lemme try again:

I often compose messages in a plain-text editor (e.g., Notepad++, Atom) and paste into a new Thunderbird message.

Thunderbird converts line breaks into -br- tags; if I use two 'returns' between lines, I get br br (with the angle brackets, of course). This is regardless of my setting for "Use Paragraph format instead of Body Text by default."

Is there any way to get Thunderbird to recognize two plain-text returns as a paragraph break, so I get p tags instead? I've tried different line breaks in my editor (CR LF, CR, and LF) and different encodings (UTF-8, ANSI), but no joy.

Thanks for any suggestions!

more options

You need to get html into a plain text message. Paste into Write window. Highlight all the content. 'Insert' > 'HTML' a small window opens, note you can extend window. Where you see the two < br > < br > line breaks, in the first one, edit the < br > so it says < p > and delete the second one. Work through text. Click on 'Insert'

Obviously there isn't a space between <>, but it's the only way I can get the chevrons to display :)

But why are you wanting to do all this extra work when you can do exactly the same - just type email - in a new Write message as if it were the same as using Notepad and then save as draft if you have not finished it. I guess it is just something you've done for a while.

由Toad-Hall于修改