diff -r 3f2dfdb99be4 -r b2fb50d572c7 includes/template.php --- a/includes/template.php Tue Apr 08 20:32:30 2008 -0400 +++ b/includes/template.php Wed Apr 09 19:27:02 2008 -0400 @@ -1017,6 +1017,12 @@ $this->load_theme($session->theme, $session->style); } + // I feel awful doing this. + if ( preg_match('/^W3C_Validator/', @$_SERVER['HTTP_USER_AGENT']) ) + { + header('Content-type: application/xhtml+xml'); + } + $headers_sent = true; if(!defined('ENANO_HEADERS_SENT')) define('ENANO_HEADERS_SENT', '');