Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

When displaying a plain text file, firefox is formatting it as if it was rich text

  • 3 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par dickelbeck

more options

On Ubuntu 16.04.1 LTS Xenial, recently Firefox started showing plain text files as if they had formatting elements in them.

I would like a pure ASCII text file to be displayed like they might look if I used "less" or "more" on them, i.e. plain text. Instead the presentation is word-wrapped, and the fonts have been swapped from a monospaced font.

In the past a monospaced font was used. I am a developer and need access to raw text files from time to time.

On Ubuntu 16.04.1 LTS Xenial, recently Firefox started showing plain text files as if they had formatting elements in them. I would like a pure ASCII text file to be displayed like they might look if I used "less" or "more" on them, i.e. plain text. Instead the presentation is word-wrapped, and the fonts have been swapped from a monospaced font. In the past a monospaced font was used. I am a developer and need access to raw text files from time to time.

Solution choisie

So for example, this gets formatted?

https://raw.githubusercontent.com/hunspell/hunspell/master/COPYING

That isn't a native feature. Could it be one of your extensions?

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (3)

more options

I should mention that the initial display of the text is fine. Then it gets displayed again word wrapped, and then a third time using margins and font replacements. It all takes about 4 seconds, and each redisplay is about one second apart. This is happening on both local files and remote HTTP GETs.

more options

Solution choisie

So for example, this gets formatted?

https://raw.githubusercontent.com/hunspell/hunspell/master/COPYING

That isn't a native feature. Could it be one of your extensions?

more options

Yes, thanks. It was ASCII Doctor Live Preview. I disabled that add-on and now back to normal.