Argh at (')'s

Discussion in 'WordPress' started by papa_face, Jan 4, 2008.

  1. #1
    Hello
    Why does WordPress make:
    '
    Code (markup):
    into a
    ‘
    Code (markup):
    it ruins my code when I post it.
    How can I make it so it doesn't do that?
     
    papa_face, Jan 4, 2008 IP
  2. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #2
    MTbiker, Jan 4, 2008 IP
  3. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #3
    The thing is, the code is put into <pre> tags. pre is supposed to reproduce what you put in between the tags exactly. However wordpress stylized the ' making it curly WITH the pre tags.
    Normally to get the unstyled ' you'd use & #39; (without space) but in <pre> tags it will actually output it literally & #39; (without space) :mad:
     
    papa_face, Jan 4, 2008 IP
  4. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #4
    Sorted the problem out.
     
    papa_face, Jan 4, 2008 IP