Skip to content

Commit

Permalink
Merge pull request #69 from msafi/patch-1
Browse files Browse the repository at this point in the history
DOCTYPE is not self-closing
  • Loading branch information
jgzamora authored Nov 6, 2018
2 parents 00fef92 + 5845ee4 commit 9c600cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/heml-elements/src/Heml.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default createElement('heml', {

render (attrs, contents) {
return ([
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />`,
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">`,
<html {...attrs}>
{contents}
</html>])
Expand Down

0 comments on commit 9c600cb

Please sign in to comment.