1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-08-13 18:17:07 +02:00

Fix compose showing an extra span tag on body when switch from html to plain/text via preferences

This commit is contained in:
Hadi Nategh
2014-10-23 10:30:50 +00:00
parent 215a0c0367
commit bdfdf55366

@ -1077,7 +1077,7 @@ class mail_compose
}
else
{
$content['body'] = ($font_span?($isFirstLoad == "switchedplaintohtml"?$font_part:$font_span):/*($content['mimeType'] == 'html'?'&nbsp;':'')*/'').$content['body'].($isFirstLoad == "switchedplaintohtml"?"</span>":"");
$content['body'] = ($font_span?($isFirstLoad === "switchedplaintohtml"?$font_part:$font_span):/*($content['mimeType'] == 'html'?'&nbsp;':'')*/'').$content['body'].($isFirstLoad === "switchedplaintohtml"?"</span>":"");
}
//error_log(__METHOD__.__LINE__.$content['body']);