TinyMCE Advanced
Entity encoding (2 posts)

  1. andruhapx
    Posted 3 years 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 3 years 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

  • TinyMCE Advanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic