got newlines working much better; Kipp still won't be happy, but the, he never is.
git-svn-id: svn://10.0.0.236/trunk@928 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -459,10 +459,11 @@ PRBool nsHTMLParser::IterateTokens() {
|
||||
*/
|
||||
PRBool nsHTMLParser::Parse(nsIURL* aURL){
|
||||
eParseMode theMode=eParseMode_navigator;
|
||||
char* theModeStr= PR_GetEnv("PARSE_MODE");
|
||||
const char* theModeStr= PR_GetEnv("PARSE_MODE");
|
||||
const char* other="other";
|
||||
|
||||
if(theModeStr)
|
||||
if(0==nsCRT::strncasecmp("other",theModeStr,5))
|
||||
if(0==nsCRT::strcasecmp(other,theModeStr))
|
||||
theMode=eParseMode_other;
|
||||
|
||||
return Parse(aURL,theMode);
|
||||
|
||||
Reference in New Issue
Block a user