got newlines working much better; Kipp still won't be happy, but the, he never is.

This commit is contained in:
rickg
1998-04-30 20:23:07 +00:00
parent 9e5a516ec7
commit 7bc232cbfe
28 changed files with 1132 additions and 1012 deletions
+3 -2
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);