Support » Your WordPress » wp always add a backslash to my post

  • cnhnyu

    (@cnhnyu)


    I edit my post in visual mode, but when I posted it and view it, it always add a backslash in double double quotation marks, for example:

    I edit my post like this:

    “Hello, 流氓兔”

    when I view this post, I found it become like this:

    “Hello, 流氓兔\”

    Why ? Hyperlink for a image also has this problem.

    Another problem: when i edit my article in visual mode,
    i insert some code, for example:

    <php?
    echo “hello, world”;
    ?>

    then i switch code mode:

    <php?
    echo “hello, world”;
    ?>

    so I add code tags in code mode:


    <php?
    echo "hello, world";
    ?>

    but when i switch back visual mode, it lost the code tag, or the code tag insert to other place.

    How to solve this problem?

  • The topic ‘wp always add a backslash to my post’ is closed to new replies.