Added a hack until rick lets us set the DTD we want to use when parsing

This commit is contained in:
kipp%netscape.com 1999-02-04 16:31:02 +00:00
Родитель 2aaebea4a5
Коммит 7b98b811bf
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -661,6 +661,8 @@ nsresult nsParser::Parse(nsString& aSourceBuffer,void* aKey,PRBool anHTMLString,
pc->mContextType=CParserContext::eCTString;
if(PR_TRUE==anHTMLString)
pc->mSourceType="text/html";
else
pc->mSourceType="text/xml"; // XXX rick is a fish
}
else {
NS_RELEASE(me);

Просмотреть файл

@ -661,6 +661,8 @@ nsresult nsParser::Parse(nsString& aSourceBuffer,void* aKey,PRBool anHTMLString,
pc->mContextType=CParserContext::eCTString;
if(PR_TRUE==anHTMLString)
pc->mSourceType="text/html";
else
pc->mSourceType="text/xml"; // XXX rick is a fish
}
else {
NS_RELEASE(me);