7720: fix regression caused by attempting to fix XIF handling of comments

This commit is contained in:
akkana%netscape.com 1999-06-09 00:48:21 +00:00
parent 587c14756a
commit 975c271ccb

View File

@ -306,10 +306,13 @@ void nsXIFConverter::AddContent(const nsString& aContent)
void nsXIFConverter::AddComment(const nsString& aContent)
{
// mBuffer.Append(mBeginComment);
mBuffer.Append(aContent);
// mBuffer.Append(mEndComment);
// For actual comments, don't want to include the begin and
// end tags; but commenting them out caused bug
// http://bugzilla.mozilla.org/show_bug.cgi?id=7720
// so we'll have to look into this more deeply later.
mBuffer.Append(mBeginComment);
mBuffer.Append(aContent);
mBuffer.Append(mEndComment);
}