-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Utilities for dealing with Content-values of "xml-types"
--
-- The Content type in "xml-types" is tricky and naive usage of it
-- can lead to bugs. You cannot simply construct ContentText from
-- any textual value. You must encode certain character ranges via
-- entities. This library does that for you by providing mappers from
-- Text to `[Content]`.
@package xml-types-content
@version 0.0.1
module XmlTypesContent
-- | Convert Text into Content list, escaping undefined
-- Unicode chars as described in
-- https://www.w3.org/TR/xml11/#charsets.
textContents :: Text -> [Content]