WordPress.org

Support

Support » Plugins and Hacks » TinyMCE Advanced » Entity encoding

Entity encoding

  • Hi. Thanks for this great plugin!

    I have one small issue with it: when I’m adding some html entities for < and > to page content, plugin removes all entities after page reload

    I think it is here tinymce-advanced.php:211:
    $c = str_replace( array(‘&’, ‘<‘, ‘>’), array(‘&’, ‘<‘, ‘>’), $c );
    How this can be fixed?

    http://wordpress.org/extend/plugins/tinymce-advanced/

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Ozz

    @azaozz

    WordPress Dev

    When you add entities, they are typically double-encoded, so & lt ; becomes & amp ; lt ;, etc. (ignore the extra spaces).

Viewing 1 replies (of 1 total)
  • The topic ‘Entity encoding’ is closed to new replies.
Skip to toolbar