The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with spaces in the text editor

Discussion in 'General Discussion' started by e_host123, Feb 20, 2003.

  1. e_host123

    e_host123 Registered

    Joined:
    Feb 5, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Maybe escaping the ampersand will do, let's see:
     
     
Loading...

Share This Page