Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

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

  • 1 risposta
  • 2 hanno questo problema
  • 60 visualizzazioni
  • Ultima risposta di 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!

Tutte le risposte (1)

more options

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

È stato utile?

Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.