WordPress.org

Support

Support » WP-Advanced » Publishing using Atom Publishing Protocol results in invalid HTML entities

Publishing using Atom Publishing Protocol results in invalid HTML entities

  • 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.)

  • The topic ‘Publishing using Atom Publishing Protocol results in invalid HTML entities’ is closed to new replies.