19428: fix copying from a document with a doctype.
Also add test cases to notice this if it ever regresses. Fix from harishd, r=me, a=rickg. git-svn-id: svn://10.0.0.236/trunk@61464 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -426,7 +426,7 @@ nsHTMLToTXTSinkStream::OpenContainer(const nsIParserNode& aNode)
|
||||
printf("OpenContainer: %d ", type);
|
||||
#endif
|
||||
const nsString& name = aNode.GetText();
|
||||
if (name.Equals("XIF_DOC_INFO"))
|
||||
if (name.Equals("document_info"))
|
||||
{
|
||||
nsString value;
|
||||
if (NS_SUCCEEDED(GetValueOfAttribute(aNode, "charset", value)))
|
||||
|
||||
Reference in New Issue
Block a user