changeset 1639:accae8f299e3

Fix checking for HTML 2.0 DTD http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-March/007424.html
author corvid <corvid@lavabit.com>
date Tue, 30 Mar 2010 23:55:05 +0000
parents b7af20df61b4
children ac1a5c7d4c9b
files src/html.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Tue Mar 30 23:48:17 2010 +0000
+++ b/src/html.cc	Tue Mar 30 23:55:05 2010 +0000
@@ -1466,7 +1466,7 @@
 static void Html_parse_doctype(DilloHtml *html, const char *tag, int tagsize)
 {
    static const char HTML_sig   [] = "<!DOCTYPE HTML PUBLIC ";
-   static const char HTML20     [] = "-//IETF//DTD HTML//EN";
+   static const char HTML20     [] = "-//IETF//DTD HTML 2.0";
    static const char HTML32     [] = "-//W3C//DTD HTML 3.2";
    static const char HTML40     [] = "-//W3C//DTD HTML 4.0";
    static const char HTML401    [] = "-//W3C//DTD HTML 4.01";