Jump to content

Recommended Posts

I have always had this wierd problem with Nano.  It may be with other editors too, but I almost always use Nano.  It leaves white space when I save.  I have a problem with my config.php file in that there can be no white space after the last tag. ie) ?>  Each time I save, I get <p>nbsb</p>  I delete it and save it again and the line reapears.  Any ideas of what causes this?
Link to comment
https://forums.phpfreaks.com/topic/15026-nano-editor-leaves-whitespace/
Share on other sites

A lot of editors add extra characters to the source code. My suggestion is to use the best editor out there: Notepad :-D If would like to continue using your editor, a short fix would be to create it with Nano and then open it with notepad when your done. Once in notepad, delete that extra added tag and then save.  I know this isn't the answer you wanted, but consider it a free bump at the least.
  • 2 weeks later...
I always use the Code View ONLY of Dreamweaver! Works great! And visually easier than NotePad!

Just make sure to never EVER go to the Design View and try doing anything there!

Another good software (free) is TextPad (it also colour - codes just like Dreamweaver and does not add any extra characters).
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.