]> ruin.nu Git - ndwebbie.git/blobdiff - ND/Web/XMLPage.pm
serve as text/html for msie
[ndwebbie.git] / ND / Web / XMLPage.pm
index f2353f4c0d2e8487d12bff8c313217e06268bcf9..68fd96b246b078f333d9dcd770fc4a432a0c26df 100644 (file)
@@ -80,6 +80,7 @@ sub render : method {
        $self->process;
 
        my $type = 'application/xhtml+xml';
+       $type = 'text/html' if $self->{USER_AGENT} =~ /MSIE/;
        my $body;
        if ($self->{XML}){
                $type = 'text/xml';