Results 1 to 3 of 3

Thread: Problem with spaces in the text editor

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    3

    Default Problem with spaces in the text editor

    Hi,

    One of our customers pointed out an issue we were not aware of.

    In the control panel, if you go to the file manager and edit an html file, try adding "&,nbsp;" (without the coma, since the forums will take it as a space) a couple of times, save the file, then try to re-open the same file. The "&,nbsp;" will be gone and replaced by an actual space.

    Is there a way around this problem?

    Thank you.

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    If you think about it, you answered your own question.

    Just as this VB script shows a space and not the ASCII charater, so does the script for the File Mgr. It's one of those things that happen in many scripts and we must learn to live with.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  3. #3
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    Maybe escaping the ampersand will do, let's see:
     

Similar Threads

  1. How to allow Word Wrap in File Manager > Code Editor or Text Editor?
    By sneader in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 07-29-2011, 11:26 AM
  2. Cpanel Issue -- Huge Text for the Text Editor
    By buckshot101 in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 07-15-2011, 09:38 AM
  3. Text/Code Editor Tab Spacing Problem
    By wizbang in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-07-2008, 11:13 AM
  4. Default text Editor On cPanel 11
    By aisagtr in forum New User Questions
    Replies: 3
    Last Post: 10-07-2007, 09:51 AM
  5. NEW text editor in RHEL 3.0!!
    By Go2reg in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-17-2004, 06:52 AM