diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | dpi/file.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -65,6 +65,7 @@ dillo-3.1 [not released yet] - Fix W3C validator and remove broken WDG validator. - Simplify bookmark DPI page style and improve readability. - Improve the Dillo manual available from the help button. + - Improve detection of XHTML documents Patches: Rodrigo Arias Mallo <rodarima@gmail.com> ----------------------------------------------------------------------------- @@ -511,6 +511,7 @@ static const char *File_ext(const char *filename) } else if (!dStrAsciiCasecmp(e, "png")) { return "image/png"; } else if (!dStrAsciiCasecmp(e, "html") || + !dStrAsciiCasecmp(e, "xhtml") || !dStrAsciiCasecmp(e, "htm") || !dStrAsciiCasecmp(e, "shtml")) { return "text/html"; |