xhtml-combinators-0.2.2: Fast and easy to use XHTML combinators.

PortabilityGHC
Stabilityexperimental
Maintaineralasdair.armstrong@googlemail.com
Safe HaskellSafe-Inferred

Text.XHtmlCombinators.Escape

Description

Escaping is based on the ESAPI project (see 'http://www.owasp.org/index.php/ESAPI')

Synopsis

Documentation

escape :: Text -> Text

Escaping text in generic HTML elements

escapeAttr :: Text -> Text

Escaping text in attribute values

escapeJavaScript :: Text -> Text

Escaping text intended for places where scripts can be used

escapeCSS :: Text -> Text

Escape text for CSS (style) data