WordPress.org

Ready to get started?Download WordPress

Forums

How Does the Editor Escape Captions? (4 posts)

  1. Robert Chapin
    Member
    Posted 5 years ago #

    I'm working on a patch for #8763 but for the life of me I can't figure out what is causing "&" to change to "&" when I insert image captions into a new post.

    Is anyone able to point me to that part of the code?

  2. Robert Chapin
    Member
    Posted 5 years ago #

    Oh great, now the forum can't even display my question properly >:{

    & changes to & when inserting captions and looking at the html

  3. iridiax
    Member
    Posted 5 years ago #

    & is the correct form for xhtml (what WordPress uses):

    http://codex.wordpress.org/HTML_to_XHTML#Entity_references

  4. Robert Chapin
    Member
    Posted 5 years ago #

    wp_specialchars() does not use & which is the entire point of my question. If you would take the time to read it before replying...

Topic Closed

This topic has been closed to new replies.

About this Topic