Permalink
Browse files

Changed default doctype to html5

  • Loading branch information...
1 parent 4fe0a3b commit 1e7bcbd7cf774bce9adfcb8e3443257a116c51e0 @tj tj committed May 10, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/doctypes.js
  2. +1 −1 test/cases/doctype.default.html
View
@@ -7,8 +7,8 @@
module.exports = {
'5': '<!DOCTYPE html>'
+ , 'default': '<!DOCTYPE html>'
, 'xml': '<?xml version="1.0" encoding="utf-8" ?>'
- , 'default': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
, 'transitional': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
, 'strict': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
, 'frameset': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html>
<html>
<body>
<h1>Title</h1>

0 comments on commit 1e7bcbd

Please sign in to comment.