| Copyright | (c) Andy Gill and OGI 1999-2001 |
|---|---|
| License | BSD-style (see the file libraries/base/LICENSE) |
| Maintainer | Andy Gill <andy@galconn.com> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Text.Html
Description
An Html combinator library
Documentation
Constructors
| Html | |
Fields | |
combine :: (BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html)) -> HtmlTable -> HtmlTable -> HtmlTable Source #
data HtmlElement Source #
Constructors
| HtmlString String | |
| HtmlTag | |
Fields
| |
Minimal complete definition
stringToHtmlString :: String -> String Source #
concatHtml :: HTML a => [a] -> Html Source #
prettyHtml :: HTML html => html -> String Source #
stringToHtml :: String -> Html Source #
lineToHtml :: String -> Html Source #
blockquote :: Html -> Html Source #
background :: String -> HtmlAttr Source #
bordercolor :: String -> HtmlAttr Source #
cellpadding :: Int -> HtmlAttr Source #
cellspacing :: Int -> HtmlAttr Source #
frameborder :: Int -> HtmlAttr Source #
identifier :: String -> HtmlAttr Source #
marginheight :: Int -> HtmlAttr Source #
marginwidth :: Int -> HtmlAttr Source #
validHtmlTags :: [String] Source #
validHtmlITags :: [String] Source #
validHtmlAttrs :: [String] Source #
linesToHtml :: [String] -> Html Source #
primHtmlChar :: String -> Html Source #
Constructors
| HtmlTable (BlockTable (Int -> Int -> Html)) |
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTable Source #
renderTable :: BlockTable (Int -> Int -> Html) -> Html Source #
treeColors :: [String] Source #
Constructors
| HotLink | |
Fields
| |
renderHtml :: HTML html => html -> String Source #
renderMessage :: [Char] Source #
renderHtml' :: Int -> HtmlElement -> ShowS Source #
prettyHtml' :: HtmlElement -> [String] Source #