r=akkana, bug=34896. ender-lite causing an output problem since we do not output the body tag anymore on selection. we still need to output leafs

git-svn-id: svn://10.0.0.236/trunk@71880 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com
2000-06-09 05:17:00 +00:00
parent f56d7d84a8
commit c8121440c2
2 changed files with 6 additions and 0 deletions

View File

@@ -748,6 +748,9 @@ void nsHTMLContentSinkStream::AddEndTag(const nsIParserNode& aNode)
{
Write(kGreaterThan);
Write(NS_LINEBREAK);
}
if ( mHTMLTagStack[mHTMLStackPos-1] == eHTMLTag_markupDecl)
{
mHTMLTagStack[--mHTMLStackPos] = eHTMLTag_unknown;
}
return;