Anybody know the answer to this? I’m integrating a WordPress blog into a very large “HTML 4.0 Transitional” website and unfortunately the XHTML generated by wp_get_archives(‘type=monthly&format=link’) breaks the W3C validation. wp_get_archives doesn’t return a string but only echoes it, so I can’t fix it with str_replace.