• I’m having an issue with this where I will copy/paste working code, which will still work after the first save but breaks after subsequent saves. I noticed what was happening: => in my array converts to “=& gt;” (without the space) which does not process the same (obviously). Is there a work around to this? Could this be an issue with the visual editor?

    https://www.ads-software.com/plugins/insert-php/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WillBontrager

    (@willbontrager)

    If you’re using Visual Composer, then it almost certainly is an issue with the visual editor. It changes angle brackets into their HTML entity equivalents when a post is saved.

    Perhaps the way Antonio solved it will work for you. See the
    https://www.ads-software.com/support/topic/0-314?replies=15
    thread.

    Will

    Thread Starter ruyn13

    (@ruyn13)

    Nope. I’m not using Visual Composer. Antonio’s solution doesn’t fix my issue as the visual editor is needed for my users and, therefore, can’t be disabled. I’m guessing this is a problem built into wordpress, but it would be nice if your plugin had a filter to disable conversion on > (and anything else wordpress likes to convert).

    Plugin Author WillBontrager

    (@willbontrager)

    Ruyn13, I’m looking into what I can do about that.

    Yes, I could have the plugin convert HTML entities for angle brackets. But it could break users of older versions who rely on it working as it is now.

    I’m certain there will be a solution, just can’t say when at this point.

    Will

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘> converts to "& gt;"’ is closed to new replies.