Support » Plugin: EWWW Image Optimizer » Alternate WebP rewriting breaks secondary menu

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

    (@nosilver4u)

    .htaccess rules for webp cannot work with a CDN like Cloudflare (or pretty much ANY CDN for that matter). I’ll take a look at your menu and see if I can spot what is going on with it.

    Plugin Author nosilver4u

    (@nosilver4u)

    I found out why it is doing it. That menu you’re using attempts to insert a form directly inside an unordered list. That is horribly invalid HTML (the form should be inside a list item when it occurs inside a list element). Thus the html parser we use attempts to fix the error by closing the unordered list before inserting the form. Not sure if there is much I can do about that, but I do have one idea I’m going to try.

    Thread Starter RBX

    (@rbx)

    I just checked HTML and there are quite some errors in menu code. I guess the Envato’s quality check is done just on initial version and not on subsequent updates.

    Plugin Author nosilver4u

    (@nosilver4u)

    I WAS able to get the menu to work again by just removing the ending ul tag. However, that puts the html in even worse shape, and the “fixes” that the xml parser did trickle down even farther than that, so I’m afraid there is no way I can fix this from my end.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Alternate WebP rewriting breaks secondary menu’ is closed to new replies.