Backing out my last change here, this change didn't do what it was supposed to do, not even close.
git-svn-id: svn://10.0.0.236/trunk@83622 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e4f3243171
commit
7e93050721
@ -1228,7 +1228,7 @@ nsXMLContentSink::AddDocTypeDecl(const nsIParserNode& aNode, PRInt32 aMode)
|
||||
nsAutoString docTypeStr(aNode.GetText());
|
||||
nsAutoString str, name, publicId, systemId;
|
||||
|
||||
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 10)) {
|
||||
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 9)) {
|
||||
docTypeStr.Right(str, docTypeStr.Length()-9);
|
||||
}
|
||||
|
||||
|
||||
@ -1228,7 +1228,7 @@ nsXMLContentSink::AddDocTypeDecl(const nsIParserNode& aNode, PRInt32 aMode)
|
||||
nsAutoString docTypeStr(aNode.GetText());
|
||||
nsAutoString str, name, publicId, systemId;
|
||||
|
||||
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 10)) {
|
||||
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 9)) {
|
||||
docTypeStr.Right(str, docTypeStr.Length()-9);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user