mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
fix problem with missing reply-header-section for html mails if tidy is available
This commit is contained in:
parent
7feb708376
commit
df4ef45375
@ -585,7 +585,10 @@
|
||||
#$bodyParts[$i]['body'] = nl2br($bodyParts[$i]['body'])."<br>";
|
||||
$bodyParts[$i]['body'] = "<pre>".$bodyParts[$i]['body']."</pre>";
|
||||
}
|
||||
$this->sessionData['body'] .= "<br>".self::_getCleanHTML($GLOBALS['egw']->translation->convert($bodyParts[$i]['body'], $bodyParts[$i]['charSet']));
|
||||
$tempBody = "<br>".self::_getCleanHTML($GLOBALS['egw']->translation->convert($bodyParts[$i]['body'], $bodyParts[$i]['charSet']));
|
||||
bofelamimail::replaceTagsCompletley($tempBody,'head'); // Strip out stuff in head
|
||||
$this->sessionData['body'] .= str_replace(array('<body>','</body>'),'',$tempBody);
|
||||
|
||||
#error_log( "GetReplyData (HTML) CharSet:".mb_detect_encoding($bodyParts[$i]['body'] . 'a' , strtoupper($bodyParts[$i]['charSet']).','.strtoupper($this->displayCharset).',UTF-8, ISO-8859-1'));
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user