* eMail: fix a problem regarding the doubleencoding of text while toggling compose from html->text

This commit is contained in:
Klaus Leithoff 2011-04-13 12:11:55 +00:00
parent 79947c1871
commit f14704947e

View File

@ -263,9 +263,10 @@ class ajaxfelamimail
$_content = implode('',$contentArr);
}
$_content = $bocompose->_getCleanHTML($_content);
$_content = $bocompose->convertHTMLToText($_content);
//$_content = $bocompose->convertHTMLToText($_content);
$_content = translation::convertHTMLToText($_content,'ISO-8859-1',$stripcrl=false,$stripalltags=true);
}
if($this->_debug); error_log(__METHOD__.__LINE__.$_content);
$this->saveSessionData();
$response = new xajaxResponse();