SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    symbol in editor

    Hi,

    I'm using the simple online editor of my share hosting for quick editing. When I type &#169 which stands for the copyright symbol, and after I save it, and open it again, the editor script changes the characters &#169 to a copyright symbol that I don't want it to. How to keep &#169 just as it is in my file?


    Thanks,
    John

  2. #2
    SitePoint Wizard Lats's Avatar
    Join Date
    Jun 2003
    Location
    Melbourne, AU
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What happens if you enter &copy? Does it change it too?
    Lats...

  3. #3
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, I tried that, same thing happens. It's just so bad while editing an xhtml strict type that needs the number only. I think the old version of Vbulletin has this problem, but they fixed it now, how?.....

  4. #4
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    43 03' 16" N :::: 77 36' 03" W
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can always do this if you dont' want it to display as a copyright symbol

    Code:
    &#<b></b>169
    is this what you're looking for?
    There's no place like 127.0.0.1

  5. #5
    SitePoint Guru kish's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    923
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    or
    Code:
    &amp#169
    Fast Fwd Multimedia
    Web, IT & Cloud Computing Consultancy
    Currently looking for web freelancers. Get in touch!

  6. #6
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    43 03' 16" N :::: 77 36' 03" W
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea go with kish
    There's no place like 127.0.0.1

  7. #7
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, but:

    When using: Kish code: &amp#169
    The next time I open the editor, it became &#169.
    And I closed the editor and open again, it become a copyright symbol in the editor which I don't want.

    When I used Stone Viper code: &#<b></b>169. It's good in editor when open just as it is, but it won't display the copyright sign (it displays 169) when displaying html. So I still have problem. What to do?!!!

  8. #8
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The editor is messing up your code - it's time to use a different editor.

  9. #9
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    43 03' 16" N :::: 77 36' 03" W
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it your editor that displays it like that, or your web browser?

    if you use kish's code, it will display correct in every web browser i know. that should be all that matters. or is your editor re-editing that code for you?
    There's no place like 127.0.0.1


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •