bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver

git-svn-id: svn://10.0.0.236/trunk@173994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2005-06-01 22:30:43 +00:00
parent 53d12e81d1
commit e95dc9b671

View File

@@ -1358,6 +1358,12 @@ CParserContext* nsParser::PopContext()
if (mParserContext->mStreamListenerState != eOnStop) {
mParserContext->mStreamListenerState = oldContext->mStreamListenerState;
}
// Update the current context's tokenizer to any information gleaned
// while parsing document.write() calls (such as "a plaintext tag was
// found")
if (mParserContext->mTokenizer) {
mParserContext->mTokenizer->CopyState(oldContext->mTokenizer);
}
}
}
return oldContext;