From b7dcadfafaad0cb75ffa4025e0ad6397823aada3 Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Thu, 5 Jul 2001 22:26:10 +0000 Subject: [PATCH] Forgot to include this comment in my previous checkin. 88746 - Make sure to not update *end*. Also, skip quotes when the charset has no value. r=heikki sr=vidur. git-svn-id: svn://10.0.0.236/trunk@98725 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsParser.cpp | 2 +- mozilla/parser/htmlparser/src/nsParser.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/htmlparser/src/nsParser.cpp b/mozilla/htmlparser/src/nsParser.cpp index e3d5fae1c29..091eb2933f9 100644 --- a/mozilla/htmlparser/src/nsParser.cpp +++ b/mozilla/htmlparser/src/nsParser.cpp @@ -2516,7 +2516,7 @@ nsParser::DetectMetaTag(const char* aBytes, (contentTokenizer.GetLength() >= kCharsetStrLen) && (nsCRT::strncasecmp(contentStart+offset, kCharsetStr, kCharsetStrLen) == 0)) { - // The next word is the charset + // The next word is the charset. PR_TRUE => That we should skip quotes - Bug 88746 if ((offset = contentTokenizer.GetNextWord(PR_TRUE)) != kNotFound) { aCharset.Assign(NS_ConvertASCIItoUCS2(contentStart+offset, contentTokenizer.GetLength())); diff --git a/mozilla/parser/htmlparser/src/nsParser.cpp b/mozilla/parser/htmlparser/src/nsParser.cpp index e3d5fae1c29..091eb2933f9 100644 --- a/mozilla/parser/htmlparser/src/nsParser.cpp +++ b/mozilla/parser/htmlparser/src/nsParser.cpp @@ -2516,7 +2516,7 @@ nsParser::DetectMetaTag(const char* aBytes, (contentTokenizer.GetLength() >= kCharsetStrLen) && (nsCRT::strncasecmp(contentStart+offset, kCharsetStr, kCharsetStrLen) == 0)) { - // The next word is the charset + // The next word is the charset. PR_TRUE => That we should skip quotes - Bug 88746 if ((offset = contentTokenizer.GetNextWord(PR_TRUE)) != kNotFound) { aCharset.Assign(NS_ConvertASCIItoUCS2(contentStart+offset, contentTokenizer.GetLength()));