зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
73fa3909cf
Коммит
45f1100bd4
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче