xhtml 3000.2.0.0 → 3000.2.0.1
raw patch · 2 files changed
+4/−4 lines, 2 files
Files
- Text/XHtml/Strict.hs +3/−3
- xhtml.cabal +1/−1
Text/XHtml/Strict.hs view
@@ -45,12 +45,12 @@ -> html -- ^ All the 'Html', including a header. -> String renderHtmlWithLanguage l theHtml =- docType ++ "\n" ++ renderHtmlFragment (mkHtml theHtml) ++ "\n"+ docType ++ "\n" ++ renderHtmlFragment code ++ "\n" where- mkHtml = (tag "html" ! [ strAttr "xmlns" "http://www.w3.org/1999/xhtml"+ code = tag "html" ! [ strAttr "xmlns" "http://www.w3.org/1999/xhtml" , strAttr "lang" l , strAttr "xml:lang" l- ] <<)+ ] << theHtml -- | Outputs indented HTML, with indentation inside elements. -- This can change the meaning of the HTML document, and
xhtml.cabal view
@@ -1,5 +1,5 @@ Name: xhtml-Version: 3000.2.0.0+Version: 3000.2.0.1 Copyright: Bjorn Bringert 2004-2006, Andy Gill, and the Oregon Graduate Institute of Science and Technology, 1999-2001 Maintainer: bjorn@bringert.net