I recently migrated my old drupal site (http://www.fiade.com/) to a new 6.1 installation. Since then, the w3c online validator returns multiple errors when validating (before the migration, my site validated as a 4.01 transitional). I think the problem is that link tags are closed (<link blablabla />). Is there any way to modify the way in wich drupal creates them to remove the "/" wich closes the tag?

Comments

matt_harrold’s picture

The closed tags are required for XHTML validation, which (I believe) is the most common DTD used by theme developers.

Is there any particular reason to continue using HTML 4.01 TR? It might be a perfect time to upgrade your DTD to XHTML 1.0 TR/Strict.

As more module developers update their modules for XHTML, you're going to run into this problem more often if you stick with the old "standard".

$0.02 (GST included).