diff --git a/src/bin/edi_content_provider.c b/src/bin/edi_content_provider.c index 517df92..8869fbe 100644 --- a/src/bin/edi_content_provider.c +++ b/src/bin/edi_content_provider.c @@ -90,9 +90,13 @@ Edi_Content_Provider *edi_content_provider_for_mime_get(const char *mime) else { id = _edi_config_mime_search(mime); - if (!id) - return NULL; + { + if (!strncasecmp(mime, "text/", 5)) + id = "text"; + else + return NULL; + } } return edi_content_provider_for_id_get(id);