xhtml 3000.0.2.1 → 3000.0.2.2
raw patch · 6 files changed
+10/−5 lines, 6 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Text.XHtml.Frameset: htmlAttr :: String -> Html -> HtmlAttr
+ Text.XHtml.Strict: htmlAttr :: String -> Html -> HtmlAttr
+ Text.XHtml.Transitional: htmlAttr :: String -> Html -> HtmlAttr
Files
- Text/XHtml/Extras.hs +3/−1
- Text/XHtml/Frameset.hs +1/−1
- Text/XHtml/Internals.hs +3/−0
- Text/XHtml/Strict.hs +1/−1
- Text/XHtml/Transitional.hs +1/−1
- xhtml.cabal +1/−1
Text/XHtml/Extras.hs view
@@ -96,7 +96,8 @@ -- widget :: String -> String -> [HtmlAttr] -> Html-widget w n markupAttrs = input ! ([thetype w,name n,identifier n] ++ markupAttrs)+widget w n markupAttrs = input ! ([thetype w] ++ ns ++ markupAttrs)+ where ns = if null n then [] else [name n,identifier n] checkbox :: String -> String -> Html hidden :: String -> String -> Html@@ -118,6 +119,7 @@ afile n = widget "file" n [] clickmap n = widget "image" n [] +{-# DEPRECATED menu "menu generates strange XHTML, and is not flexible enough. Roll your own that suits your needs." #-} menu :: String -> [Html] -> Html menu n choices = select ! [name n] << [ option << p << choice | choice <- choices ]
Text/XHtml/Frameset.hs view
@@ -7,7 +7,7 @@ -- * Primitives and basic combinators (<<), concatHtml, (+++), noHtml, isNoHtml, tag, itag,- emptyAttr, intAttr, strAttr,+ emptyAttr, intAttr, strAttr, htmlAttr, primHtml, -- * Rendering showHtml, renderHtml, prettyHtml,
Text/XHtml/Internals.hs view
@@ -149,6 +149,9 @@ strAttr :: String -> String -> HtmlAttr strAttr s t = HtmlAttr s (stringToHtmlString t) +htmlAttr :: String -> Html -> HtmlAttr+htmlAttr s t = HtmlAttr s (show t)+ {- foldHtml :: (String -> [HtmlAttr] -> [a] -> a)
Text/XHtml/Strict.hs view
@@ -7,7 +7,7 @@ -- * Primitives and basic combinators (<<), concatHtml, (+++), noHtml, isNoHtml, tag, itag,- emptyAttr, intAttr, strAttr,+ emptyAttr, intAttr, strAttr, htmlAttr, primHtml, -- * Rendering showHtml, renderHtml, prettyHtml,
Text/XHtml/Transitional.hs view
@@ -7,7 +7,7 @@ -- * Primitives and basic combinators (<<), concatHtml, (+++), noHtml, isNoHtml, tag, itag,- emptyAttr, intAttr, strAttr,+ emptyAttr, intAttr, strAttr, htmlAttr, primHtml, -- * Rendering showHtml, renderHtml, prettyHtml,
xhtml.cabal view
@@ -1,5 +1,5 @@ Name: xhtml-Version: 3000.0.2.1+Version: 3000.0.2.2 Copyright: Bjorn Bringert 2004-2006, Andy Gill, and the Oregon Graduate Institute of Science and Technology, 1999-2001 Maintainer: bjorn@bringert.net