Mail - avoid blank line at the top of merged emails

This commit is contained in:
nathangray 2019-07-26 11:48:39 -06:00
parent 7fa4c6a2ba
commit b6a04b8cfd

View File

@ -1184,7 +1184,8 @@ class mail_compose
$content['body'] = $font_span.$before.($content['mimeType'] == 'html'?$sigText:$this->convertHTMLToText($sigText,true,true)).$inbetween.$content['body'];
}
}
else
// Skip this part if we're merging, it would add an extra line at the top
else if ($actionToProcess != 'merge')
{
$content['body'] = ($font_span?($isFirstLoad === "switchedplaintohtml"?$font_part:$font_span):/*($content['mimeType'] == 'html'?'&nbsp;':'')*/'').$content['body'].($isFirstLoad === "switchedplaintohtml"?"</span>":"");
}