WordPress Theme loses all Line breaks after upload

Mar 13, 2012   //   by phpfreelancer.biz   //   Blog, Wordpress Theme Tutorial  //  No Comments

I Worked on a WordPress theme in the Editor, then i downloaded the files and made some changes… after reuploading it via FTP, all Line Breaks in my Code went missing!

its all a big block of code now! At least WordPress interprets it als such, in my IDE (Netbeans) as well as other Text editors, the code is fine… How can this be? Any Ideas?

Line breaks have 3 styles : UNIX , Mac and Windows. You must have mixed up the line break modes. To convert line break styles, use advanced text editor such as Notepad++.

Leave a comment

Share This Post

RSS Wordpress News