html-minimalist-0.14: Minimalist haskell html library

Safe HaskellNone

Text.HTML.Light

Description

Provides xhtml constructors for Light.

Synopsis

Documentation

renderXHTML :: DocType -> Element -> StringSource

Render an xhtml element with the given document type.

renderHTML5 :: Element -> StringSource

Render an HTML5 element with the given document type.

renderHTML5_pp :: Element -> StringSource

Pretty-printing variant (inserts whitespace).

showHTML5 :: Content -> StringSource

Show HTML content (importantly an iframe element must not be abbreviated).