Output is not valid XHTML

usonian - September 29, 2008 - 02:19
Project:Fading Slideshow
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

I just ran a page containing a fading slideshow through the W3C validator, and it came back with dozens of errors caused by the embedded slideshow JavaScript. (I know that's outside the purview of this Drupal wrapper, but I wanted to log it as a known issue.)

#1

usonian - September 29, 2008 - 02:46
Status:active» won't fix

Ah, that was simpler to resolve than I thought. Per the notes at http://javascript.about.com/library/blxhtml.htm, I added the JS-commented CDATA tags around the script and it now validates. I'll submit a patch to the author of the JS library.

AttachmentSize
fade_slideshow.js_.inc-validxhtml.patch 727 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.