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

PortabilityGHC
Stabilityexperimental
Maintaineralasdair.armstrong@googlemail.com

Text.XHtmlCombinators.Escape

Description

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

Synopsis

Documentation

escape :: Text -> TextSource

Escaping text in generic HTML elements

escapeAttr :: Text -> TextSource

Escaping text in attribute values

escapeJavaScript :: Text -> TextSource

Escaping text intended for places where scripts can be used

escapeCSS :: Text -> TextSource

Escape text for CSS (style) data