|
|
|
Description |
This module converts a list of Tag back into a string.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Show a list of tags, as they might have been parsed, using the default settings given in
RenderOptions.
renderTags [TagOpen "hello" [],TagText "my&",TagClose "world"] == "<hello>my&</world>"
|
|
|
Show a list of tags using settings supplied by the RenderOptions parameter,
eg. to avoid escaping any characters one could do:
renderTagsOptions renderOptions{optEscape = id} [TagText "my&"] == "my&"
|
|
|
Replace the four characters &"<> with their HTML entities (the list from xmlEntities).
|
|
|
These options control how renderTags works.
The strange quirk of only minimizing <br> tags is due to Internet Explorer treating
<br></br> as <br><br>.
| Constructors | RenderOptions | | optEscape :: str -> str | Escape a piece of text (default = escape the four characters &"<>)
| optMinimize :: str -> Bool | Minimise <b></b> -> <b/> (default = minimise only <br> tags)
|
|
|
|
|
|
The default render options value, described in RenderOptions.
|
|
Produced by Haddock version 2.4.2 |