Jump to content

all code going on one line


Recommended Posts

i have a problem

 

when i edit some files that other people have edited in dreamweaver, etc. download them from FTP and open them, the formatting is all double-line spaced etc.

 

then when i save the file all the content goes onto a single line. i am using notepad2. how do i stop this from happening?

Link to comment
https://forums.phpfreaks.com/topic/164439-all-code-going-on-one-line/
Share on other sites

The problem comes from different platforms modifying a file. Different operating systems user their own style to terminate lines which means when a file gets passed around it can start to look messy. If you upload text files via FTP in ASCII mode, apparently this should solve the problem.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.