rewrite doctype to HTML5

This commit is contained in:
2013-10-15 22:01:22 +02:00
parent 9c0cf6cb3a
commit ef10ca23a4
@@ -71,7 +71,7 @@ namespace NReadability
if (!domSerializationParams.DontIncludeDocTypeMetaElement)
{
result = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n" + result;
result = "<!DOCTYPE html>\r\n" + result;
}
return result;