Permalink
Browse files

Render a newline after doctype decls

  • Loading branch information...
1 parent de644eb commit 025b94a308f3d73e58b9099adbc2c6da1ab6f380 @gregorycollins gregorycollins committed Jun 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Text/XmlHtml/XML/Render.hs
  2. +1 −1 xmlhtml.cabal
View
2 src/Text/XmlHtml/XML/Render.hs
@@ -39,7 +39,7 @@ docTypeDecl e (Just (DocType tag ext int)) = fromText e "<!DOCTYPE "
`mappend` fromText e tag
`mappend` externalID e ext
`mappend` internalSubset e int
- `mappend` fromText e ">"
+ `mappend` fromText e ">\n"
------------------------------------------------------------------------------
View
2 xmlhtml.cabal
@@ -1,5 +1,5 @@
Name: xmlhtml
-Version: 0.1.5
+Version: 0.1.5.1
Synopsis: XML parser and renderer with HTML 5 quirks mode
Description: Contains renderers and parsers for both XML and HTML 5
document fragments, which share data structures wo that

0 comments on commit 025b94a

Please sign in to comment.