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:
rickg
1998-04-30 20:23:07 +00:00
parent e9b6d10641
commit 1253f68df0
28 changed files with 1132 additions and 1012 deletions

View File

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