ابحث في الدعم

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

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

  • 3 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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.

الحل المُختار

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?

Read this answer in context 👍 0

All Replies (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

الحل المُختار

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.