Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 3 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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?

Прочетете този отговор в контекста 👍 0

Всички отговори (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.