tagsoup-0.7: Parsing and extracting information from (possibly malformed) HTML documentsContentsIndex
Text.HTML.TagSoup.Render
Description
This module is preliminary and may change at a future date. If you wish to use its features, please email me and I will help evolve an API that suits you.
Synopsis
renderTags :: [Tag] -> String
renderTagsOptions :: RenderOptions -> [Tag] -> String
data RenderOptions = RenderOptions {
optEscape :: (Char -> String)
optMinimize :: (String -> Bool)
}
renderOptions :: RenderOptions
Documentation
renderTags :: [Tag] -> String
Show a list of tags, as they might have been parsed
renderTagsOptions :: RenderOptions -> [Tag] -> String
data RenderOptions
Constructors
RenderOptions
optEscape :: (Char -> String)Escape a single character
optMinimize :: (String -> Bool)Minimise b></b> -> <b/, defaults to only for br
renderOptions :: RenderOptions
Produced by Haddock version 0.8