diff options
Diffstat (limited to 'source/html/html-doc.c')
-rw-r--r-- | source/html/html-doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/html-doc.c b/source/html/html-doc.c index f5bb42b8..e5c3d91e 100644 --- a/source/html/html-doc.c +++ b/source/html/html-doc.c @@ -170,12 +170,12 @@ htdoc_recognize(fz_context *doc, const char *magic) if (ext) { if (!fz_strcasecmp(ext, ".xml") || !fz_strcasecmp(ext, ".xhtml") || - !fz_strcasecmp(ext, ".html") || !fz_strcasecmp(ext, ".htm")) + !fz_strcasecmp(ext, ".html") || !fz_strcasecmp(ext, ".htm") || + !fz_strcasecmp(ext, ".fb2")) return 100; } if (!strcmp(magic, "application/html+xml") || !strcmp(magic, "application/xml") || !strcmp(magic, "text/xml")) return 100; - return 0; } |