mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix reply as forced HTML break plain text pseudo tags
This commit is contained in:
parent
8aca24e520
commit
28a6ad1b62
@ -1541,6 +1541,10 @@ class mail_compose
|
||||
case 'reply':
|
||||
case 'reply_all':
|
||||
$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['mode'] = 'reply';
|
||||
$_focusElement = 'body';
|
||||
|
Loading…
Reference in New Issue
Block a user