WordPress.org

Ready to get started?Download WordPress

Forums

Publishing using Atom Publishing Protocol results in invalid HTML entities (1 post)

  1. meta
    Member
    Posted 6 years ago #

    When a post is made using APP, and the item includes apostrophes escaped using the ''' XML escape, the XML escape sequences are copied through verbatim into the generated HTML.

    Unfortunately, ' isn't a valid HTML entity; it's only valid for XML, and most WordPress themes aren't strict XML.

    So, the APP code needs to unescape the incoming XML before writing it to the database.

    (This would be a bug report, but I don't seem to have permission to post bug reports.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags