HTML error "document type does not allow element "
-
Hello,
Just installed this plugin and my html validator gives now an error for all pages where SAR is loaded.
Error message isline 940 column 214 - Error: document type does not allow element "link" here
due to this code that is found at the end of the <body>.
Any one has a fix for this ?
<script type='text/javascript' src='https://.../plugins/smart-archives-reloaded/inc/tools.tabs.min.js?ver=1.1.2'></script> <script type='text/javascript'> jQuery(function ($) { $('head').prepend('<link rel="stylesheet" id="smart-archives-css" href=".../plugins/smart-archives-reloaded/inc/styles.css?ver=2.0" type="text/css" media="all" />'); }); </script><script type="text/javascript"> jQuery( document ).ready( function( $ ) { $( '.tabs' ).tabs( '> .pane' ); $( '#smart-archives-fancy .year-list' ) .find( 'a' ).click( function( ev ) { $( '.pane .tabs:visible a:last' ).click(); } ).end() .find( 'a:last' ).click(); } ); </script>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘HTML error "document type does not allow element "’ is closed to new replies.