搜索 | 用户支持

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

详细了解

When i go to a text file with unix line endings, I get one long line on my display.

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

When i load some text files. I get one long line I'm pretty sure that whatever firefox is using to display text does not handle unix line endings. I suspect that if I change the viewer it is using the problem will go away. How might I do that?

When i load some text files. I get one long line I'm pretty sure that whatever firefox is using to display text does not handle unix line endings. I suspect that if I change the viewer it is using the problem will go away. How might I do that?

所有回复 (2)

more options

You can use Notepad++ it is a tabbed editor though so be sure to save or close when finished or you might downgrade your actual files later on.

more options

That file is send as text/html and not as text/plain, so white-space including line breaks gets rendered as in html and you would need <br> to get a new line.

Use View Page Source in such cases or prefix the link with the view-source: protocol.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source

由cor-el于修改