WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
[resolved] Custom HTML quotes problem (PHP escape characters) (2 posts)

  1. travelvice
    Member
    Posted 2 years ago #

    Glancing through the forum posts and surprised I didn't see it previously addressed:

    I attempted to insert an image tag into the custom HTML field:
    <img src="http://i.example.com/email_15x11.png" alt="" />

    On settings page save, that tag is then displayed like this (note single quotes):
    <img src='http://i.example.com/email_15x11.png' alt='' />

    and the HTML displayed on the post page is broken because of the escape characters:
    <img src=\'http://i.example.com/email_15x11.png\' alt=\'\' />

    Thoughts?

  2. camu
    Member
    Plugin Author

    Posted 2 years ago #

    This is definitely a bug. I'll add it to my todo list :) Thank you for your feedback!

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic