From ce8ab3ab326a6f6e92ecc36cac28a9cb6cb86c35 Mon Sep 17 00:00:00 2001 From: "badami%netscape.com" Date: Mon, 18 Feb 2002 10:33:15 +0000 Subject: [PATCH] [serializer]Using blockquote screws up composer's pretty-print. bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst --- content/base/src/nsHTMLContentSerializer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/base/src/nsHTMLContentSerializer.cpp b/content/base/src/nsHTMLContentSerializer.cpp index b14a8bf5046..1ef553a132b 100644 --- a/content/base/src/nsHTMLContentSerializer.cpp +++ b/content/base/src/nsHTMLContentSerializer.cpp @@ -936,6 +936,7 @@ nsHTMLContentSerializer::StartIndentation(nsIAtom* aName, (aName == nsHTMLAtoms::tr) || (aName == nsHTMLAtoms::ul) || (aName == nsHTMLAtoms::ol) || + (aName == nsHTMLAtoms::dl) || (aName == nsHTMLAtoms::tbody) || (aName == nsHTMLAtoms::form) || (aName == nsHTMLAtoms::frameset) || @@ -957,9 +958,13 @@ nsHTMLContentSerializer::EndIndentation(nsIAtom* aName, (aName == nsHTMLAtoms::tr) || (aName == nsHTMLAtoms::ul) || (aName == nsHTMLAtoms::ol) || + (aName == nsHTMLAtoms::dl) || (aName == nsHTMLAtoms::li) || (aName == nsHTMLAtoms::tbody) || (aName == nsHTMLAtoms::form) || + (aName == nsHTMLAtoms::blockquote) || + (aName == nsHTMLAtoms::dt) || + (aName == nsHTMLAtoms::dd) || (aName == nsHTMLAtoms::frameset)) { mIndent--; }