WordPress.org

Forums

TinyMCE Advanced
Entity encoding (2 posts)

  1. andruhapx
    Member
    Posted 2 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?

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

  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 2 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