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
This commit is contained in:
harishd%netscape.com
2001-07-05 22:26:10 +00:00
parent eeef32d50b
commit b7dcadfafa
2 changed files with 2 additions and 2 deletions

View File

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