• Hi there,
    I’m using your plugin to unload some stuff off of my pages. The problem is that I was running an HTML validation test on my site with validator.w3.org the other day and I got the following error:
    “Attribute name not allowed on element meta at this point.”
    This is caused by a <meta> that the plugin generates and inserts outside the <head> :
    “<meta?name=wpacu-generator content=”ASSET CLEANUP NOSCRIPT FOR ASYNC PRELOADS”>”

    Is there any way to move these inside the head to avoid the errors?
    I’ve also been reading contradictory news about whether you can put meta tags outside of the head in HTML5 or not.

    BTW, thanks a lot for your awesome plugin. Lotta Love <3

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @aligarajian That META tag should have been replaced with different content or nothing (empty value). This was added to “tell” the plugin that this is the place where the new content will be added) and in case it would not finish the action, it will stay like this. However, it should have been replaced with an empty value (in this situation) and it does return a validation error in validator.w3.org since it’s in the BODY tag. I’m on it and in the next version of the plugin, this will be fixed.

    PS: The fact that name=wpacu-generator has no quotes before and after wpacu-generator suggests that it was altered before it should have been stripped off by an external plugin or a custom code from the theme. You could be using a caching plugin or a performance plugin that is having a feature like “Minify HTML” which alters the contents of the HTML before Asset CleanUp does.

Viewing 1 replies (of 1 total)
  • The topic ‘plugin creates meta tags outside’ is closed to new replies.