搜尋 Mozilla 技術支援網站

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

Learn More

On OS X: When I copy and paste from notepad I get strange characters like <br><br>. How do I get rid of this?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

When I copy and paste from notepad I get strange characters like <br><br>. How do I get rid of this?

When I copy and paste from notepad I get strange characters like &lt;br&gt;&lt;br&gt;. How do I get rid of this?

由 cor-el 於 修改

所有回覆 (2)

more options

The characters I'm getting are the Less than symbol, br, Greater than symbol and there's 2 next to each other in between paragraphs.

由 cherayewmj 於 修改

more options

That are HTML 'break' tags that add an empty line or force a new line.

You would see such tags in a normal text area if you paste HTML code as plain text. If you paste in a rich text editor then you should see a new line. You can use the editor in plain text mode to prevent this.

Where do you see this happen?