allow plain text file to be handled by HTML document
This commit is contained in:
Родитель
e2e2dfc7e9
Коммит
7ba3b9726d
|
@ -221,7 +221,7 @@ nsDocFactoryImpl::nsDocFactoryImpl()
|
|||
*/
|
||||
NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID);
|
||||
|
||||
static char* gValidTypes[] = {"text/html","application/rtf",0};
|
||||
static char* gValidTypes[] = {"text/html","application/rtf","text/plain",0};
|
||||
static char* gXMLTypes[] = {"text/xml", "application/xml", 0};
|
||||
static char* gRDFTypes[] = {"text/rdf", "text/xul", 0};
|
||||
|
||||
|
@ -243,7 +243,6 @@ static char* gPluginTypes[] = {
|
|||
"audio/x-aiff",
|
||||
"audio/basic",
|
||||
"application/x-shockwave-flash",
|
||||
"text/plain",
|
||||
0
|
||||
};
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ nsDocFactoryImpl::nsDocFactoryImpl()
|
|||
*/
|
||||
NS_IMPL_ISUPPORTS(nsDocFactoryImpl,kIDocumentLoaderFactoryIID);
|
||||
|
||||
static char* gValidTypes[] = {"text/html","application/rtf",0};
|
||||
static char* gValidTypes[] = {"text/html","application/rtf","text/plain",0};
|
||||
static char* gXMLTypes[] = {"text/xml", "application/xml", 0};
|
||||
static char* gRDFTypes[] = {"text/rdf", "text/xul", 0};
|
||||
|
||||
|
@ -243,7 +243,6 @@ static char* gPluginTypes[] = {
|
|||
"audio/x-aiff",
|
||||
"audio/basic",
|
||||
"application/x-shockwave-flash",
|
||||
"text/plain",
|
||||
0
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче