X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND%2FWeb%2FXMLPage.pm;h=68fd96b246b078f333d9dcd770fc4a432a0c26df;hb=add4b96ab08441ea81a200af0014a3016df9e1d0;hp=561fdc8f608c9535c91219eb13239916ca76ce56;hpb=a5ecd18d276ae1a43b92d96e2347a077a1a52427;p=ndwebbie.git diff --git a/ND/Web/XMLPage.pm b/ND/Web/XMLPage.pm index 561fdc8..68fd96b 100644 --- a/ND/Web/XMLPage.pm +++ b/ND/Web/XMLPage.pm @@ -79,7 +79,8 @@ sub render : method { $self->process; - my $type = 'text/html'; + my $type = 'application/xhtml+xml'; + $type = 'text/html' if $self->{USER_AGENT} =~ /MSIE/; my $body; if ($self->{XML}){ $type = 'text/xml';