Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Convert a tag soup to its text representation respecting various conventions for merging open and close tags.
- xml :: (Tag name, Attribute name, C string) => [T name string] -> ShowS
- xmlCondensed :: (Tag name, Attribute name, C string) => [T name string] -> ShowS
- html :: (Tag name, Attribute name, C string) => [T name string] -> ShowS
- xhtml :: (Tag name, Attribute name, C string) => [T name string] -> ShowS
- htmlOrXhtml :: (Tag name, Attribute name, C string) => [T name string] -> ShowS
Documentation
xml :: (Tag name, Attribute name, C string) => [T name string] -> ShowS Source
All tags are formatted as they are.
html :: (Tag name, Attribute name, C string) => [T name string] -> ShowS Source
All tags that are defined being self-closing by the HTML standard
are formatted only as open tag.
E.g. br
.