Support » Fixing WordPress » Problem with Quotes inside PRE blocks

  • I upgraded to WordPress 1.5.1.2 today and am facing a weird problem. Any quote (“) inside a PRE block gets converted to a slash followed by a quote (\”). This only happens to quotes inside PRE blocks.

    <pre>
    CString s = “Hello”;
    </pre>

    becomes

    <pre>
    CString s = \”Hello\”;
    </pre>

    Does anyone know how I can fix this?

    My blog is here :- blog.voidnish.com

    Thanks,
    Nish

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’d like to add that this only happens with double quotes (“) and does not occur with single quotes (‘).

    Also, I didn’t do a fresh install – I upgraded from an older version of WordPress.

    I also had this problem. It seems like bug 1793 which will be fixed in 2.0.

    If you can’t wait, you can apply the patch yourself.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with Quotes inside PRE blocks’ is closed to new replies.