Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Line break (\r\n) missing in clipboard after Firefox update – breaks formatting in Windows apps

  • 1 freagra
  • 0 leis an bhfadhb seo
  • 8 views
  • Freagra is déanaí ó TyDraniu

more options

Hello!

After the latest Firefox Desktop updates (not sure which one exactly, since I didn't notice the issue immediately), I've started experiencing a problem with copy-pasting text — specifically with line break formatting on Windows 10.

Instead of copying line breaks using the Windows-style carriage return + line feed (\r\n), Firefox now copies only line feeds (\n). As a result, the text appears as a single long line when pasted into native Windows applications — which breaks the expected formatting. This behavior mainly affects:

  • Text editable fields (e.g., contenteditable or textarea) in modern web applications.
  • Code blocks or snippets (such as in Markdown or monospace) copied using "Copy" buttons (e.g., in ChatGPT or GitHub).

At first, I noticed this only when copying code from ChatGPT using the code-snippet copy button. But now it happens in almost all editable text areas — if I enter text with line breaks manually, and then copy it, those breaks do not appear properly in native Windows apps. For example:

  • In Google Sheets, I often edit text with line breaks in a cell, but when I copy it back, it's all flattened into one line.

Right now, I have to fix this using scripts that replace \n with \r\n, but that's a very inconvenient workaround.

❗My main question is: What changed in Firefox that caused this behavior? This used to be reliable and feels like a regression. It’s a very basic feature and critically important for my daily workflow!

🔧 Follow-up questions:

  1. Can this be fixed in a future Firefox update? Will it be addressed?
  2. Is there a way to fix or configure this behavior right now via browser(settings, configs)?
  3. Is there an extension or workaround that can restore the \r\n format without manual scripting?

Affected apps:

  • ChatGPT
  • Google Spreadsheets
  • Trello
  • ProtonMail (regular text copying)
  • (more)

Thanks in advance for any clarification or suggestions!

Hello! After the latest Firefox Desktop updates (not sure which one exactly, since I didn't notice the issue immediately), I've started experiencing a problem with copy-pasting text — specifically with line break formatting on Windows 10. Instead of copying line breaks using the Windows-style '''carriage return + line feed (\r\n)''', Firefox now copies only '''line feeds (\n)'''. As a result, the text appears as a single long line when pasted into native Windows applications — which breaks the expected formatting. This behavior mainly affects: * Text editable fields (e.g., contenteditable or textarea) in modern web applications. * Code blocks or snippets (such as in Markdown or monospace) copied using "Copy" buttons (e.g., in ChatGPT or GitHub). At first, I noticed this only when copying code from ChatGPT using the code-snippet copy button. But now it happens in almost all editable text areas — if I enter text with line breaks manually, and then copy it, those breaks do not appear properly in native Windows apps. For example: * In Google Sheets, I often edit text with line breaks in a cell, but when I copy it back, it's all flattened into one line. Right now, I have to fix this using scripts that replace \n with \r\n, but that's a very inconvenient workaround. ❗My main question is: '''What changed in Firefox that caused this behavior?''' This used to be reliable and feels like a regression. It’s a very basic feature and critically important for my daily workflow! 🔧 Follow-up questions: # Can this be fixed in a future Firefox update? Will it be addressed? # Is there a way to fix or configure this behavior right now via browser(settings, configs)? # Is there an extension or workaround that can restore the \r\n format without manual scripting? Affected apps: * ChatGPT * Google Spreadsheets * Trello * ProtonMail (regular text copying) * (more) Thanks in advance for any clarification or suggestions!

All Replies (1)

more options

This is strange. Can you use mozregression to find the responsible commit? Thanks!

Helpful?

Cuir ceist

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.