Atomex.Types.Text (atomex v0.5.1)
A text as described in Atom specs. See this link
Link to this section Summary
Link to this section Functions
Link to this function
new(tag, content, type)
Create a new Text for the title
, summary
or rights
tags.
See this link
Parameters
- tag: tag name (
:title
,:subtitle
,:summary
or:rights
) - content: a String or a XmlBuilder element list
- type: a String with the content type (default=
text
). Can be:- html: Contains entity escaped html
- xhtml: Contains inline xhtml, wrapped in a div element (you must pass
content as
{:cdata, content}
if using this)