-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Fast and easy to use XHTML combinators.
--
-- xhtml-combinators provides a set of (hopefully!) fast and easy to use
-- XHTML 1.0 Strict combinators built on top of the Data.Text library.
@package xhtml-combinators
@version 0.1
module Text.XHtmlCombinators.Internal
type Attrs = [Attr]
data Attr
Attr :: Text -> Text -> Attr
data Node
Node :: Text -> Attrs -> Attrs -> (Seq Node) -> Node
TextNode :: Text -> Node
WithAttrs :: Attrs -> Node
first :: Seq a -> a
textNode :: Text -> Attrs -> Attrs -> Text -> Node
emptyNode :: Text -> Attrs -> Attrs -> Node
node :: (Content e) => Text -> Attrs -> Attrs -> XHtml e -> Node
class Content e
toContent :: (Content e) => e -> Node
type XHtmlM x a = Writer (Seq x) a
type XHtml x = XHtmlM x ()
tellS :: x -> XHtml x
execXHtml :: XHtml x -> Seq x
tellTextNode :: (Node -> e) -> Text -> Attrs -> Attrs -> Text -> XHtml e
tellEmptyNode :: (Node -> e) -> Text -> Attrs -> Attrs -> XHtml e
tellNode :: (Content a) => (Node -> b) -> Text -> Attrs -> Attrs -> XHtml a -> XHtml b
empty :: XHtml x
instance Show Node
instance Show Attr
module Text.XHtmlCombinators.Render
-- | Quickly render a xhtml page to text.
--
-- This function will render the entire page on a single line, which is
-- somewhat unreadable. On the plus side, it's relatively fast.
render :: (Content c) => XHtml c -> Text
-- | Renders a pretty xhtml page with readable indentation.
--
-- What we do is turn the document from Text into a String,
-- parse that string with Text.XML.Light, then use
-- Text.XML.Light's pretty printing function to render it,
-- before finally packing it again. It probably goes without saying, but
-- this function is incredibly inefficient!
--
-- Also, Text.XML.Light will render the document as proper XML,
-- which is fine only if you're not trying to pass of your page as
-- text/html.
renderPretty :: (Content c) => XHtml c -> Text
module Text.XHtmlCombinators.Attributes
emptyAttr :: Text -> Attr
intAttr :: Text -> Int -> Attr
textAttr :: Text -> Text -> Attr
action :: Text -> Attr
align :: Text -> Attr
alt :: Text -> Attr
altcode :: Text -> Attr
archive :: Text -> Attr
base :: Text -> Attr
border :: Int -> Attr
bordercolor :: Text -> Attr
cellpadding :: Int -> Attr
cellspacing :: Int -> Attr
checked :: Attr
codebase :: Text -> Attr
cols :: Text -> Attr
colspan :: Int -> Attr
content :: Text -> Attr
coords :: Text -> Attr
disabled :: Attr
enctype :: Text -> Attr
height :: Text -> Attr
href :: Text -> Attr
hreflang :: Text -> Attr
httpEquiv :: Text -> Attr
id_ :: Text -> Attr
ismap :: Attr
lang :: Text -> Attr
maxlength :: Int -> Attr
method :: Text -> Attr
multiple :: Attr
name :: Text -> Attr
nohref :: Attr
rel :: Text -> Attr
rev :: Text -> Attr
rows :: Text -> Attr
rowspan :: Int -> Attr
rules :: Text -> Attr
selected :: Attr
shape :: Text -> Attr
size :: Text -> Attr
src :: Text -> Attr
class_ :: Text -> Attr
for :: Text -> Attr
style :: Text -> Attr
type_ :: Text -> Attr
title :: Text -> Attr
usemap :: Text -> Attr
valign :: Text -> Attr
value :: Text -> Attr
width :: Text -> Attr
module Text.XHtmlCombinators.Combinators
class CData c
cdata :: (CData c) => Text -> c
text :: (CData c) => Text -> XHtml c
newtype InlineContent
Inline :: Node -> InlineContent
inlineToNode :: InlineContent -> Node
class Inline c
inline :: (Inline c) => Node -> c
newtype BlockContent
Block :: Node -> BlockContent
blockToNode :: BlockContent -> Node
class Block c
block :: (Block c) => Node -> c
newtype FlowContent
Flow :: Node -> FlowContent
flowToNode :: FlowContent -> Node
class Flow c
flow :: (Flow c) => Node -> c
newtype Page
Page :: Node -> Page
pageToNode :: Page -> Node
newtype TopLevelContent
TopLevel :: Node -> TopLevelContent
topLevelToNode :: TopLevelContent -> Node
xhtml10strict :: Text
html' :: Bool -> Attrs -> XHtml TopLevelContent -> XHtml Page
html :: Bool -> XHtml TopLevelContent -> XHtml Page
newtype HeadContent
Head :: Node -> HeadContent
headToNode :: HeadContent -> Node
head' :: Attrs -> XHtml HeadContent -> XHtml TopLevelContent
head_ :: XHtml HeadContent -> XHtml TopLevelContent
title' :: Attrs -> Text -> XHtml HeadContent
title :: Text -> XHtml HeadContent
base' :: Text -> Attrs -> XHtml HeadContent
base :: Text -> XHtml HeadContent
meta' :: Text -> Attrs -> XHtml HeadContent
meta :: Text -> XHtml HeadContent
link' :: Attrs -> XHtml HeadContent
-- | link is a bit useless without any attributes, but it's included
-- anyway for consistency reasons.
link :: XHtml HeadContent
style' :: Text -> Attrs -> Text -> XHtml HeadContent
style :: Text -> Text -> XHtml HeadContent
script' :: Text -> Attrs -> Text -> XHtml HeadContent
script :: Text -> Text -> XHtml HeadContent
noscript' :: (Block c) => Attrs -> XHtml BlockContent -> XHtml c
noscript :: (Block c) => XHtml BlockContent -> XHtml c
body' :: Attrs -> XHtml BlockContent -> XHtml TopLevelContent
body :: XHtml BlockContent -> XHtml TopLevelContent
div' :: (Block c) => Attrs -> XHtml FlowContent -> XHtml c
div_ :: (Block c) => XHtml FlowContent -> XHtml c
p' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
p :: (Block c) => XHtml InlineContent -> XHtml c
h1' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h1 :: (Block c) => XHtml InlineContent -> XHtml c
h2' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h2 :: (Block c) => XHtml InlineContent -> XHtml c
h3' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h3 :: (Block c) => XHtml InlineContent -> XHtml c
h4' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h4 :: (Block c) => XHtml InlineContent -> XHtml c
h5' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h5 :: (Block c) => XHtml InlineContent -> XHtml c
h6' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h6 :: (Block c) => XHtml InlineContent -> XHtml c
newtype ListContent
List :: Node -> ListContent
listToNode :: ListContent -> Node
ul' :: (Block c) => Attrs -> XHtml ListContent -> XHtml c
ul :: (Block c) => XHtml ListContent -> XHtml c
ol' :: (Block c) => Attrs -> XHtml ListContent -> XHtml c
ol :: (Block c) => XHtml ListContent -> XHtml c
li' :: Attrs -> XHtml FlowContent -> XHtml ListContent
li :: XHtml FlowContent -> XHtml ListContent
newtype DefinitionListContent
DefinitionList :: Node -> DefinitionListContent
definitionListToNode :: DefinitionListContent -> Node
dl' :: (Block c) => Attrs -> XHtml DefinitionListContent -> XHtml c
dl :: (Block c) => XHtml DefinitionListContent -> XHtml c
dt' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
dt :: XHtml InlineContent -> XHtml DefinitionListContent
dd' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
dd :: XHtml InlineContent -> XHtml DefinitionListContent
address' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
address :: (Block c) => XHtml InlineContent -> XHtml c
hr' :: (Block c) => Attrs -> XHtml c
hr :: (Block c) => XHtml c
pre' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
pre :: (Block c) => XHtml InlineContent -> XHtml c
blockquote' :: (Block c) => Attrs -> XHtml BlockContent -> XHtml c
blockquote :: (Block c) => XHtml BlockContent -> XHtml c
ins' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
ins :: (Flow c, Content c) => XHtml c -> XHtml c
del' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
del :: (Flow c, Content c) => XHtml c -> XHtml c
a' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
a :: (Inline c) => XHtml InlineContent -> XHtml c
span' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
span_ :: (Inline c) => XHtml InlineContent -> XHtml c
bdo' :: (Inline c) => Text -> Attrs -> XHtml InlineContent -> XHtml c
bdo :: (Inline c) => Text -> XHtml InlineContent -> XHtml c
br' :: (Inline c) => Attrs -> XHtml c
br :: (Inline c) => XHtml c
em' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
em :: (Inline c) => XHtml InlineContent -> XHtml c
strong' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
strong :: (Inline c) => XHtml InlineContent -> XHtml c
dfn' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
dfn :: (Inline c) => XHtml InlineContent -> XHtml c
code' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
code :: (Inline c) => XHtml InlineContent -> XHtml c
samp' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
samp :: (Inline c) => XHtml InlineContent -> XHtml c
kbd' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
kbd :: (Inline c) => XHtml InlineContent -> XHtml c
var' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
var :: (Inline c) => XHtml InlineContent -> XHtml c
cite' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
cite :: (Inline c) => XHtml InlineContent -> XHtml c
abbr' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
abbr :: (Inline c) => XHtml InlineContent -> XHtml c
acronym' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
acronym :: (Inline c) => XHtml InlineContent -> XHtml c
q' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
q :: (Inline c) => XHtml InlineContent -> XHtml c
sub' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
sub :: (Inline c) => XHtml InlineContent -> XHtml c
sup' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
sup :: (Inline c) => XHtml InlineContent -> XHtml c
tt' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
tt :: (Inline c) => XHtml InlineContent -> XHtml c
i' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
i :: (Inline c) => XHtml InlineContent -> XHtml c
b' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
b :: (Inline c) => XHtml InlineContent -> XHtml c
big' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
big :: (Inline c) => XHtml InlineContent -> XHtml c
small' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
small :: (Inline c) => XHtml InlineContent -> XHtml c
newtype ObjectContent
Object :: Node -> ObjectContent
objectToNode :: ObjectContent -> Node
object' :: (Flow c) => Attrs -> XHtml ObjectContent -> XHtml c
object :: (Flow c) => XHtml ObjectContent -> XHtml c
param' :: Attrs -> XHtml ObjectContent
param :: XHtml ObjectContent
img' :: (Flow c) => Text -> Text -> Attrs -> XHtml c
img :: (Flow c) => Text -> Text -> XHtml c
newtype MapContent
Map :: Node -> MapContent
mapToNode :: MapContent -> Node
map' :: (Flow c) => Text -> Attrs -> XHtml MapContent -> XHtml c
map_ :: (Flow c) => Text -> XHtml MapContent -> XHtml c
area' :: Text -> Attrs -> XHtml MapContent
area :: Text -> XHtml MapContent
form' :: (Block c) => Text -> Attrs -> XHtml FlowContent -> XHtml c
form :: (Block c) => Text -> XHtml FlowContent -> XHtml c
label' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
label :: (Inline c) => XHtml InlineContent -> XHtml c
input' :: (Inline c) => Attrs -> XHtml c
input :: (Inline c) => XHtml c
newtype OptionContent
Option :: Node -> OptionContent
optionToNode :: OptionContent -> Node
select' :: (Inline c) => Attrs -> XHtml OptionContent -> XHtml c
select :: (Inline c) => XHtml OptionContent -> XHtml c
optgroup' :: Text -> Attrs -> XHtml OptionContent -> XHtml OptionContent
optgroup :: Text -> XHtml OptionContent -> XHtml OptionContent
option' :: Attrs -> Text -> XHtml OptionContent
option :: Text -> XHtml OptionContent
textarea' :: (Inline c) => Int -> Int -> Attrs -> Text -> XHtml c
textarea :: (Inline c) => Int -> Int -> Text -> XHtml c
newtype FieldSetContent
FieldSet :: Node -> FieldSetContent
fieldSetToNode :: FieldSetContent -> Node
fieldset' :: (Block c) => Attrs -> XHtml FieldSetContent -> XHtml c
fieldset :: (Block c) => XHtml FieldSetContent -> XHtml c
legend' :: Attrs -> XHtml InlineContent -> XHtml FieldSetContent
legend :: XHtml InlineContent -> XHtml FieldSetContent
button' :: (Inline c) => Attrs -> XHtml FlowContent -> XHtml c
button :: (Inline c) => XHtml FlowContent -> XHtml c
newtype Table1Content
Table1 :: Node -> Table1Content
table1ToNode :: Table1Content -> Node
newtype Table2Content
Table2 :: Node -> Table2Content
table2ToNode :: Table2Content -> Node
newtype Table3Content
Table3 :: Node -> Table3Content
table3ToNode :: Table3Content -> Node
newtype TableColContent
TableCol :: Node -> TableColContent
tableColToNode :: TableColContent -> Node
table' :: (Block c) => Attrs -> XHtml Table1Content -> XHtml c
table :: (Block c) => XHtml Table1Content -> XHtml c
caption' :: Attrs -> XHtml InlineContent -> XHtml Table1Content
caption :: XHtml InlineContent -> XHtml Table1Content
thead' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
thead :: XHtml Table2Content -> XHtml Table1Content
tfoot' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
tfoot :: XHtml Table2Content -> XHtml Table1Content
tbody' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
tbody :: XHtml Table2Content -> XHtml Table1Content
colgroup' :: Attrs -> XHtml TableColContent -> XHtml Table1Content
colgroup :: XHtml TableColContent -> XHtml Table1Content
col' :: Attrs -> XHtml TableColContent
col :: XHtml TableColContent
tr' :: Attrs -> XHtml Table3Content -> XHtml Table2Content
tr :: XHtml Table3Content -> XHtml Table2Content
th' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
th :: XHtml FlowContent -> XHtml Table3Content
td' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
td :: XHtml FlowContent -> XHtml Table3Content
instance Content TableColContent
instance Content Table3Content
instance Content Table2Content
instance Content Table1Content
instance Block FieldSetContent
instance Inline FieldSetContent
instance Flow FieldSetContent
instance Content FieldSetContent
instance Content OptionContent
instance Block MapContent
instance Inline MapContent
instance Flow MapContent
instance Content MapContent
instance Block ObjectContent
instance Inline ObjectContent
instance Flow ObjectContent
instance Content ObjectContent
instance Content DefinitionListContent
instance Content ListContent
instance Content HeadContent
instance Content TopLevelContent
instance Content Page
instance Flow FlowContent
instance Flow InlineContent
instance Flow BlockContent
instance CData FlowContent
instance Content FlowContent
instance Block FlowContent
instance Block BlockContent
instance Content BlockContent
instance Inline FlowContent
instance Inline InlineContent
instance CData InlineContent
instance Content InlineContent
module Text.XHtmlCombinators
type XHtmlM x a = Writer (Seq x) a
type XHtml x = XHtmlM x ()
data Page
class Content e
type Attrs = [Attr]
data Attr
Attr :: Text -> Text -> Attr
data TopLevelContent
data HeadContent
class Flow c
data FlowContent
class Block c
data BlockContent
class Inline c
data InlineContent
data ObjectContent
data MapContent
data ListContent
data DefinitionListContent
data FieldSetContent
data Table1Content
data Table2Content
data Table3Content
data TableColContent
html' :: Bool -> Attrs -> XHtml TopLevelContent -> XHtml Page
html :: Bool -> XHtml TopLevelContent -> XHtml Page
text :: (CData c) => Text -> XHtml c
empty :: XHtml x
head' :: Attrs -> XHtml HeadContent -> XHtml TopLevelContent
head_ :: XHtml HeadContent -> XHtml TopLevelContent
title' :: Attrs -> Text -> XHtml HeadContent
title :: Text -> XHtml HeadContent
base' :: Text -> Attrs -> XHtml HeadContent
base :: Text -> XHtml HeadContent
meta' :: Text -> Attrs -> XHtml HeadContent
meta :: Text -> XHtml HeadContent
link' :: Attrs -> XHtml HeadContent
-- | link is a bit useless without any attributes, but it's included
-- anyway for consistency reasons.
link :: XHtml HeadContent
style' :: Text -> Attrs -> Text -> XHtml HeadContent
style :: Text -> Text -> XHtml HeadContent
script' :: Text -> Attrs -> Text -> XHtml HeadContent
script :: Text -> Text -> XHtml HeadContent
noscript' :: (Block c) => Attrs -> XHtml BlockContent -> XHtml c
noscript :: (Block c) => XHtml BlockContent -> XHtml c
body' :: Attrs -> XHtml BlockContent -> XHtml TopLevelContent
body :: XHtml BlockContent -> XHtml TopLevelContent
div' :: (Block c) => Attrs -> XHtml FlowContent -> XHtml c
div_ :: (Block c) => XHtml FlowContent -> XHtml c
p' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
p :: (Block c) => XHtml InlineContent -> XHtml c
h1' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h1 :: (Block c) => XHtml InlineContent -> XHtml c
h2' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h2 :: (Block c) => XHtml InlineContent -> XHtml c
h3' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h3 :: (Block c) => XHtml InlineContent -> XHtml c
h4' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h4 :: (Block c) => XHtml InlineContent -> XHtml c
h5' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h5 :: (Block c) => XHtml InlineContent -> XHtml c
h6' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
h6 :: (Block c) => XHtml InlineContent -> XHtml c
ul' :: (Block c) => Attrs -> XHtml ListContent -> XHtml c
ul :: (Block c) => XHtml ListContent -> XHtml c
ol' :: (Block c) => Attrs -> XHtml ListContent -> XHtml c
ol :: (Block c) => XHtml ListContent -> XHtml c
li' :: Attrs -> XHtml FlowContent -> XHtml ListContent
li :: XHtml FlowContent -> XHtml ListContent
dl' :: (Block c) => Attrs -> XHtml DefinitionListContent -> XHtml c
dl :: (Block c) => XHtml DefinitionListContent -> XHtml c
dt' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
dt :: XHtml InlineContent -> XHtml DefinitionListContent
dd' :: Attrs -> XHtml InlineContent -> XHtml DefinitionListContent
dd :: XHtml InlineContent -> XHtml DefinitionListContent
address' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
address :: (Block c) => XHtml InlineContent -> XHtml c
hr' :: (Block c) => Attrs -> XHtml c
hr :: (Block c) => XHtml c
pre' :: (Block c) => Attrs -> XHtml InlineContent -> XHtml c
pre :: (Block c) => XHtml InlineContent -> XHtml c
blockquote' :: (Block c) => Attrs -> XHtml BlockContent -> XHtml c
blockquote :: (Block c) => XHtml BlockContent -> XHtml c
ins' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
ins :: (Flow c, Content c) => XHtml c -> XHtml c
del' :: (Flow c, Content c) => Attrs -> XHtml c -> XHtml c
del :: (Flow c, Content c) => XHtml c -> XHtml c
a' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
a :: (Inline c) => XHtml InlineContent -> XHtml c
span' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
span_ :: (Inline c) => XHtml InlineContent -> XHtml c
bdo' :: (Inline c) => Text -> Attrs -> XHtml InlineContent -> XHtml c
bdo :: (Inline c) => Text -> XHtml InlineContent -> XHtml c
br' :: (Inline c) => Attrs -> XHtml c
br :: (Inline c) => XHtml c
em' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
em :: (Inline c) => XHtml InlineContent -> XHtml c
strong' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
strong :: (Inline c) => XHtml InlineContent -> XHtml c
dfn' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
dfn :: (Inline c) => XHtml InlineContent -> XHtml c
code' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
code :: (Inline c) => XHtml InlineContent -> XHtml c
samp' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
samp :: (Inline c) => XHtml InlineContent -> XHtml c
kbd' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
kbd :: (Inline c) => XHtml InlineContent -> XHtml c
var' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
var :: (Inline c) => XHtml InlineContent -> XHtml c
cite' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
cite :: (Inline c) => XHtml InlineContent -> XHtml c
abbr' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
abbr :: (Inline c) => XHtml InlineContent -> XHtml c
acronym' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
acronym :: (Inline c) => XHtml InlineContent -> XHtml c
q' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
q :: (Inline c) => XHtml InlineContent -> XHtml c
sub' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
sub :: (Inline c) => XHtml InlineContent -> XHtml c
tt' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
tt :: (Inline c) => XHtml InlineContent -> XHtml c
i' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
i :: (Inline c) => XHtml InlineContent -> XHtml c
b' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
b :: (Inline c) => XHtml InlineContent -> XHtml c
big' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
big :: (Inline c) => XHtml InlineContent -> XHtml c
small' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
small :: (Inline c) => XHtml InlineContent -> XHtml c
object' :: (Flow c) => Attrs -> XHtml ObjectContent -> XHtml c
object :: (Flow c) => XHtml ObjectContent -> XHtml c
param' :: Attrs -> XHtml ObjectContent
param :: XHtml ObjectContent
img' :: (Flow c) => Text -> Text -> Attrs -> XHtml c
img :: (Flow c) => Text -> Text -> XHtml c
map' :: (Flow c) => Text -> Attrs -> XHtml MapContent -> XHtml c
map_ :: (Flow c) => Text -> XHtml MapContent -> XHtml c
area' :: Text -> Attrs -> XHtml MapContent
area :: Text -> XHtml MapContent
form' :: (Block c) => Text -> Attrs -> XHtml FlowContent -> XHtml c
form :: (Block c) => Text -> XHtml FlowContent -> XHtml c
label' :: (Inline c) => Attrs -> XHtml InlineContent -> XHtml c
label :: (Inline c) => XHtml InlineContent -> XHtml c
input' :: (Inline c) => Attrs -> XHtml c
input :: (Inline c) => XHtml c
select' :: (Inline c) => Attrs -> XHtml OptionContent -> XHtml c
select :: (Inline c) => XHtml OptionContent -> XHtml c
optgroup' :: Text -> Attrs -> XHtml OptionContent -> XHtml OptionContent
optgroup :: Text -> XHtml OptionContent -> XHtml OptionContent
option' :: Attrs -> Text -> XHtml OptionContent
option :: Text -> XHtml OptionContent
textarea' :: (Inline c) => Int -> Int -> Attrs -> Text -> XHtml c
textarea :: (Inline c) => Int -> Int -> Text -> XHtml c
fieldset' :: (Block c) => Attrs -> XHtml FieldSetContent -> XHtml c
fieldset :: (Block c) => XHtml FieldSetContent -> XHtml c
legend' :: Attrs -> XHtml InlineContent -> XHtml FieldSetContent
legend :: XHtml InlineContent -> XHtml FieldSetContent
button' :: (Inline c) => Attrs -> XHtml FlowContent -> XHtml c
button :: (Inline c) => XHtml FlowContent -> XHtml c
table' :: (Block c) => Attrs -> XHtml Table1Content -> XHtml c
table :: (Block c) => XHtml Table1Content -> XHtml c
caption' :: Attrs -> XHtml InlineContent -> XHtml Table1Content
caption :: XHtml InlineContent -> XHtml Table1Content
thead' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
thead :: XHtml Table2Content -> XHtml Table1Content
tfoot' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
tfoot :: XHtml Table2Content -> XHtml Table1Content
tbody' :: Attrs -> XHtml Table2Content -> XHtml Table1Content
tbody :: XHtml Table2Content -> XHtml Table1Content
colgroup' :: Attrs -> XHtml TableColContent -> XHtml Table1Content
colgroup :: XHtml TableColContent -> XHtml Table1Content
col' :: Attrs -> XHtml TableColContent
col :: XHtml TableColContent
tr' :: Attrs -> XHtml Table3Content -> XHtml Table2Content
tr :: XHtml Table3Content -> XHtml Table2Content
th' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
th :: XHtml FlowContent -> XHtml Table3Content
td' :: Attrs -> XHtml FlowContent -> XHtml Table3Content
td :: XHtml FlowContent -> XHtml Table3Content
-- | Quickly render a xhtml page to text.
--
-- This function will render the entire page on a single line, which is
-- somewhat unreadable. On the plus side, it's relatively fast.
render :: (Content c) => XHtml c -> Text