From f720727c61a8bb558e109ac1d6e7ec90da0c0589 Mon Sep 17 00:00:00 2001 From: "t_mutreja%yahoo.com" Date: Wed, 2 Oct 2002 07:12:49 +0000 Subject: [PATCH] Bug#169292(text indentation of
  • elements not corrent for final element) Patch:t_mutreja@yahoo.com, r= akkana, sr=heikki --- content/base/src/nsPlainTextSerializer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/content/base/src/nsPlainTextSerializer.cpp b/content/base/src/nsPlainTextSerializer.cpp index 7f342bd4297d..9c125de291b6 100644 --- a/content/base/src/nsPlainTextSerializer.cpp +++ b/content/base/src/nsPlainTextSerializer.cpp @@ -864,6 +864,7 @@ nsPlainTextSerializer::DoCloseContainer(PRInt32 aTag) mLineBreakDue = PR_TRUE; } else if (type == eHTMLTag_ul) { + FlushLine(); mIndent -= kIndentSizeList; if (--mULCount + mOLStackIndex == 0) { mFloatingLines = 1;