• Resolved bigdrop.gr

    (@bigdropgr)


    Hello Mario,

    I tried to remove html code but the plugin is not removing it. I tried with simple text and it working properly. So this is not a cache problem.

    The code that I wan to remove is this:

    <div class="code-block code-block-2 ai-viewport-2 ai-viewport-3" style="margin: 8px 0px"><div align="center"><span style="font-family: arial, helvetica, sans-serif"><strong><span style="font-size: 16pt"><span style="color: #023257">dosenea App:</span> Κατεβ?στε την εφαρμογ? στο κινητ? σα? για ?μεση και γρ?γορη ενημ?ρωση</span></strong></span>
    <div class="container">
    <div style="float: left;width: 49%"><img src="https://www.dosenea.gr/wp-content/uploads/2016/02/apple-store-dosenea.png" alt="" /></div>
    <div style="float: right;width: 49%"><img src="https://www.dosenea.gr/wp-content/uploads/2016/02/android-app-dosenea.png" alt="" /></div>
    </div>
    </div>

    I want to use the plugin on DoseNea.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    If I had to guess I’d say you’re running into a problem with new lines / carriage returns not matching. You’d be better off using the regex functionality which allows you to match non-visible characters if they’re there.

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hello,

    the regex is causing white screen of death.

    Do you think there is a conflict with another plugin?

    Thank you

    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    It’s easy to make a mistake with regex. I do it all of the time. And when there’s a mistake, you get a white screen. It’s not really a bug since the regex rule is at fault.

    I would use a regex tester to confirm you haven’t made any mistakes. Or start with a simple, simple rule where mistakes can be avoided and then add to it to get to where you want it to be.

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Thank you for your reply.

    I’ll check it and let you know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin removes text but fails to remove html code’ is closed to new replies.