зеркало из https://github.com/mozilla/gecko-dev.git
Backing out my last change here, this change didn't do what it was supposed to do, not even close.
This commit is contained in:
Родитель
4b89c22e9f
Коммит
1196cb233f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче