The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> html file saving anomalies, How to save files without disrupting code
Liberty Felix
post May 6 2012, 11:58 AM
Post #1





Group: Members
Posts: 1
Joined: 6-May 12
Member No.: 17,063



I am having trouble saving html code in Notepad, as it strips line feeds and some white space, jamming lines together in unexecutable code.
Particularly, a PHP call running into an include() function statement continued to save incorrectly upon multiple attempts to re-insert a space and line feed.

What editor should I try to avoid this or is there a methodology that I'm missing in using Notepad.
I was recommended Notepad++ on another forum and it worked once, but did not upon an additional try.

I was recommended Wordpad, which seems to work, but I have to force the file type, which is not intuitively offered in the file type saving form feed fields.

Can anyone explain to me what is happening with the faulty code stripping saves in Notepad~? sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post May 6 2012, 12:33 PM
Post #2


.
********

Group: WDG Moderators
Posts: 6,061
Joined: 10-August 06
Member No.: 7



Maybe it's the FTP program (or its settings) that causes this? Compare http://www.editpadpro.com/tricklinebreak.html

In any case there are lots of good text editors, just try them and see which one(s) you prefer.


--------------------
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd September 2014 - 11:26 PM