[serializer]Using blockquote screws up composer's pretty-print.

bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst


git-svn-id: svn://10.0.0.236/trunk@114789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
badami%netscape.com
2002-02-18 10:33:15 +00:00
parent 57672d7802
commit a6de6cd010

View File

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