WordPress.org

Forums

Code Insert Manager (Q2W3 Inc Manager)
HTML entities reverting on save (2 posts)

  1. naomir
    Member
    Posted 1 year ago #

    This regards HTML code inserted using the plugin. It is showing as invalid because it contains "&" instead of "&". If I open up the code insert editor and replace it with "&" then when I save it it reverts to "&".

    I managed to make the HTML valid for now by putting "&" and saving it. But making any change in the editor and saving again causes it to revert to '&'.

    It seems to be automatically decoding HTML entities. I'm tempted to edit the plugin so that it stops doing this, but please could you advise if there is a less hacky way to deal with this situation?

    http://wordpress.org/plugins/q2w3-inc-manager/

  2. naomir
    Member
    Posted 1 year ago #

    Sorry, that is confusing! The forum software is doing the same thing ... Using Code Insert, I'm trying to insert the html entity for the ampersand, but on save it reverts to an actual ampersand. How can I insert an html entity using Code Insert and have it stay as it is? Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Code Insert Manager (Q2W3 Inc Manager)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic