mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:40:23 +01:00
Fix reply as forced HTML break plain text pseudo tags
This commit is contained in:
parent
c2e981bc0f
commit
2ee1811b85
@ -1541,6 +1541,10 @@ class mail_compose
|
|||||||
case 'reply':
|
case 'reply':
|
||||||
case 'reply_all':
|
case 'reply_all':
|
||||||
$content = $this->getReplyData($from == 'reply' ? 'single' : 'all', $icServer, $folder, $msgUID, $part_id);
|
$content = $this->getReplyData($from == 'reply' ? 'single' : 'all', $icServer, $folder, $msgUID, $part_id);
|
||||||
|
if ($content['mimeType'] === 'plain' && $GLOBALS['egw_info']['user']['preferences']['mail']['replyOptions'] === 'html')
|
||||||
|
{
|
||||||
|
$content['body'] = htmlspecialchars($content['body']);
|
||||||
|
}
|
||||||
$content['processedmail_id'] = $mail_id;
|
$content['processedmail_id'] = $mail_id;
|
||||||
$content['mode'] = 'reply';
|
$content['mode'] = 'reply';
|
||||||
$_focusElement = 'body';
|
$_focusElement = 'body';
|
||||||
|
Loading…
Reference in New Issue
Block a user