зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
87a011d982
Коммит
c61aa04c58
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче