Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.