Fix for incorrect signature HTML - Bug #23011 - r: jefft

This commit is contained in:
rhp%netscape.com 2000-01-05 15:08:32 +00:00
parent 6692cc345b
commit 4873a6af57

View File

@ -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>");
}