Support » Plugin: TinyMCE Advanced » 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?

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


    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.