X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND%2FWeb%2FXMLPage.pm;h=68fd96b246b078f333d9dcd770fc4a432a0c26df;hb=add4b96ab08441ea81a200af0014a3016df9e1d0;hp=f2353f4c0d2e8487d12bff8c313217e06268bcf9;hpb=f6155125bc8587e34bcb8c9bafb283b7651edc8f;p=ndwebbie.git diff --git a/ND/Web/XMLPage.pm b/ND/Web/XMLPage.pm index f2353f4..68fd96b 100644 --- a/ND/Web/XMLPage.pm +++ b/ND/Web/XMLPage.pm @@ -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';