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

bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst
This commit is contained in:
badami%netscape.com 2002-02-18 10:33:15 +00:00
Родитель 3d2149d0fa
Коммит ce8ab3ab32
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

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