Commit f64f9e4f authored by Kevin Falcone's avatar Kevin Falcone
Browse files

don't deHTMLify if the Parse failed

git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/3.8/trunk@16276 e417ac7c-1bcc-0310-8ffa-8f5827389a85
parent 203210ab
......@@ -312,6 +312,8 @@ sub Parse {
($rv, $msg) = $self->_Parse(@_);
}
return ($rv, $msg) unless $rv;
my $mime_type = $self->MIMEObj->mime_type;
if (defined $mime_type and $mime_type eq 'text/html') {
$self->_DowngradeFromHTML(@_);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment