WordPress.org

Ready to get started?Download WordPress

Forums

Problem with Quotes inside PRE blocks (3 posts)

  1. Nish
    Member
    Posted 9 years ago #

    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

  2. Nish
    Member
    Posted 9 years ago #

    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.

  3. Simplex
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic