r=rhp, mscott. 34401. adding nsTXT converter back into the mix and removing prog id collision between it and mozTXT converter

This commit is contained in:
valeski%netscape.com 2000-04-05 04:12:29 +00:00
Родитель 87a011d982
Коммит c61aa04c58
1 изменённых файлов: 5 добавлений и 6 удалений

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

@ -290,17 +290,16 @@ static nsModuleComponentInfo components[] =
NS_ISTREAMCONVERTER_KEY "?from=deflate?to=uncompressed",
CreateNewHTTPCompressConvFactory
},
#if 0
/* backed out. see bug #34401 */
{ "NSTXTToHTMLConverter",
NS_NSTXTTOHTMLCONVERTER_CID,
NS_ISTREAMCONVERTER_KEY "?from=text/plain?to=text/html",
CreateNewNSTXTToHTMLConvFactory
}
#endif
{ "TXTToHTMLConverter",
},
// This is not a real stream converter, it's just
// registering it's cid factory here.
{ "HACK-TXTToHTMLConverter",
MOZITXTTOHTMLCONV_CID,
NS_ISTREAMCONVERTER_KEY "?from=text/plain?to=text/html",
NS_ISTREAMCONVERTER_KEY,
CreateNewTXTToHTMLConvFactory
}
};