Ready to get started?Download WordPress


TinyMCE Advanced
Entity encoding (2 posts)

  1. andruhapx
    Posted 1 year ago #

    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?


  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic