mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fix for incorrect signature HTML - Bug #23011 - r: jefft
This commit is contained in:
parent
6692cc345b
commit
4873a6af57
@ -1789,19 +1789,23 @@ nsMsgCompose::ProcessSignature(nsIMsgIdentity *identity, nsString *aMsgBody)
|
||||
{
|
||||
aMsgBody->Append(htmlBreak);
|
||||
if (!htmlSig)
|
||||
{
|
||||
aMsgBody->Append("<pre>");
|
||||
aMsgBody->Append(CRLF);
|
||||
}
|
||||
}
|
||||
else
|
||||
aMsgBody->Append(CRLF);
|
||||
|
||||
aMsgBody->Append(dashes);
|
||||
|
||||
if (m_composeHTML)
|
||||
aMsgBody->Append(htmlBreak);
|
||||
else
|
||||
if ( (!m_composeHTML) || ((m_composeHTML) && (!htmlSig)) )
|
||||
aMsgBody->Append(CRLF);
|
||||
else if (m_composeHTML)
|
||||
aMsgBody->Append(htmlBreak);
|
||||
|
||||
aMsgBody->Append(sigData);
|
||||
|
||||
if ( (m_composeHTML) && (!htmlSig) )
|
||||
aMsgBody->Append("</pre>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user