rewrite doctype to HTML5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user