2015-04-18, 05:22 PM
Hi,
Apologies if this has already been talked about (surprised if it hasn't), but I couldn't find anything when searching.
Currently the default template doesn't seem to pass W3C validation, because of two lines in the script in the headerinclude template:
W3C Validation errors:
line 30: document type does not allow element "br" here
line 40: document type does not allow element "img" here
Basically the script includes br and img body elements, in the head.
Can this be addressed, perhaps by placing the script elsewhere?
I'm surprised you'd let the default theme not pass W3C validation.
Thanks
Apologies if this has already been talked about (surprised if it hasn't), but I couldn't find anything when searching.
Currently the default template doesn't seem to pass W3C validation, because of two lines in the script in the headerinclude template:
line 30: var loading_text = '{$lang->ajax_loading}';
line 40: var spinner = "<img src='" + spinner_image +"' alt='' />";
W3C Validation errors:
line 30: document type does not allow element "br" here
line 40: document type does not allow element "img" here
Basically the script includes br and img body elements, in the head.
Can this be addressed, perhaps by placing the script elsewhere?
I'm surprised you'd let the default theme not pass W3C validation.
Thanks