Lightbox puts in <script language="javascript" type="text/javascript">. The language part is deprecated, so it doesn't validate as XHTML 1.0 strict.
Lightbox puts in <script language="javascript" type="text/javascript">. The language part is deprecated, so it doesn't validate as XHTML 1.0 strict.
Comments
Comment #1
stella commentedWhere does lightbox2 do this?
If you're referring to the script lines which add the lightbox2 js files (lightbox2.js, lightbox.js, auto_image_handling.js, lightbox_login.js, lightbox_video.js or lightbox_login.js), then this isn't a lightbox2 issue. These lines are added by Drupal core. The Lightbox2 module only calls the
drupal_add_js()function to add these files and doesn't generate the script tag itself.Cheers,
Stella
Comment #2
miggols99 commentedOops...I mixed this up with another module. Sorry.