Strict validation issue
-
Hi there,
unfortunately the latest version of the plugin triggers a validation issue on sites having doctype XHTML 1.0 Strict.
The error is the following:
required attribute "type" not specified
and it is caused by this JS code:
<script>jQueryWP = jQuery;</script>
which is added by the following PHP code:
$content = preg_replace( $pattern, '$0<script>jQueryWP = jQuery;</script>', $content );
The fix is quite easy, just add a
type="text/javascript"
to the<script>
tag. I hope that you can fix this in next version, as it prevents correct validation.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Strict validation issue’ is closed to new replies.