WordPress.org

Ready to get started?Download WordPress

Forums

Cookie Control
W3C validation error (1 post)

  1. Andy Keith
    Member
    Posted 1 year ago #

    Hi,

    Since installing the plugin I'm getting a W3C validation error on all pages in the Cookie Control code. It's to do with the <p> tags output in the Cookie Control JS at the bottom of the page. The validator doesn't like it for some reason (I'm using a XHTML doctype).

    I've fixed it by adding a CDATA block around the JS, i.e. <script type="text/javascript">//<![CDATA[ JS code... //]]></script>. Could you consider adding this to a future release?

    Many thanks.

    http://wordpress.org/extend/plugins/cookie-control/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic