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()));