Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 3 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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.

Vald lösning

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?

Läs svaret i sitt sammanhang 👍 0

Alla svar (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

Vald lösning

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.