|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
Lookup an entity, using lookupNumericEntity if it starts with
# and lookupNamedEntity otherwise
|
|
|
Lookup a named entity, using htmlEntities
lookupNamedEntity "amp" == Just '&'
lookupNamedEntity "haskell" == Nothing
|
|
|
Lookup a numeric entity, the leading '#' must have already been removed.
lookupNumericEntity "65" == Just 'A'
lookupNumericEntity "x41" == Just 'A'
lookupNumericEntity "x4E" === Just 'N'
lookupNumericEntity "x4e" === Just 'N'
lookupNumericEntity "Haskell" == Nothing
lookupNumericEntity "" == Nothing
lookupNumericEntity "89439085908539082" == Nothing
|
|
|
Escape a character before writing it out to XML.
escapeXMLChar 'a' == Nothing
escapeXMLChar '&' == Just "amp"
|
|
|
A table mapping XML entity names to code points.
Does not include apos as Internet Explorer does not know about it.
|
|
|
A table mapping HTML entity names to code points
|
|
Produced by Haddock version 2.4.2 |