diff -rup libxml2-2.7.8-orig/HTMLparser.c libxml2-2.7.8/HTMLparser.c
--- libxml2-2.7.8-orig/HTMLparser.c	2010-11-04 12:17:35.000000000 +0100
+++ libxml2-2.7.8/HTMLparser.c	2011-02-21 22:24:51.296875000 +0100
@@ -6537,6 +6537,10 @@ htmlCtxtUseOptions(htmlParserCtxtPtr ctx
 	ctxt->options |= HTML_PARSE_NODEFDTD;
         options -= HTML_PARSE_NODEFDTD;
     }
+	if (options & HTML_PARSE_NOIMPLIED) {
+	ctxt->options |= HTML_PARSE_NOIMPLIED;
+        options -= HTML_PARSE_NOIMPLIED;
+    }
     ctxt->dictNames = 0;
     return (options);
 }
