re-enabled viewsource

git-svn-id: svn://10.0.0.236/trunk@17463 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-01-10 05:39:13 +00:00
parent 890b0592ba
commit c1bb351fdc
4 changed files with 10 additions and 10 deletions

View File

@@ -319,8 +319,9 @@ CNavDTD::CNavDTD() : nsIDTD(){
mParser=0;
mDTDDebug=0;
mLineNumber=1;
mHasOpenBody=PR_FALSE;
nsCRT::zero(mTokenHandlers,sizeof(mTokenHandlers));
mHasOpenBody=PR_FALSE;
mHasOpenHead=PR_FALSE;
mHasOpenForm=PR_FALSE;
mHasOpenMap=PR_FALSE;
mAllowUnknownTags=PR_FALSE;

View File

@@ -94,13 +94,12 @@ public:
CSharedParserObjects() : mDeallocator(), mDTDDeque(mDeallocator) {
/*
nsIDTD* theDTD;
NS_NewWellFormed_DTD(&theDTD);
RegisterDTD(theDTD);
NS_NewViewSourceHTML(&theDTD);
RegisterDTD(theDTD);
*/
nsIDTD* theDTD;
NS_NewViewSourceHTML(&theDTD); //do this so all html files can be viewed...
RegisterDTD(theDTD);
}
~CSharedParserObjects() {

View File

@@ -319,8 +319,9 @@ CNavDTD::CNavDTD() : nsIDTD(){
mParser=0;
mDTDDebug=0;
mLineNumber=1;
mHasOpenBody=PR_FALSE;
nsCRT::zero(mTokenHandlers,sizeof(mTokenHandlers));
mHasOpenBody=PR_FALSE;
mHasOpenHead=PR_FALSE;
mHasOpenForm=PR_FALSE;
mHasOpenMap=PR_FALSE;
mAllowUnknownTags=PR_FALSE;

View File

@@ -94,13 +94,12 @@ public:
CSharedParserObjects() : mDeallocator(), mDTDDeque(mDeallocator) {
/*
nsIDTD* theDTD;
NS_NewWellFormed_DTD(&theDTD);
RegisterDTD(theDTD);
NS_NewViewSourceHTML(&theDTD);
RegisterDTD(theDTD);
*/
nsIDTD* theDTD;
NS_NewViewSourceHTML(&theDTD); //do this so all html files can be viewed...
RegisterDTD(theDTD);
}
~CSharedParserObjects() {