packages feed

xss-sanitize-0.3.4: xss-sanitize.cabal

name:            xss-sanitize
version:         0.3.4
license:         BSD3
license-file:    LICENSE
author:          Greg Weber <greg@gregweber.info>
maintainer:      Greg Weber <greg@gregweber.info>
synopsis:        sanitize untrusted HTML to prevent XSS attacks
description:     run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <http://github.com/yesodweb/haskell-xss-sanitize> for more details

category:        Web
stability:       Stable
cabal-version:   >= 1.8 
build-type:      Simple
homepage:        http://github.com/yesodweb/haskell-xss-sanitize
extra-source-files: README.md

library
    build-depends:  base == 4.*, containers
                    , tagsoup     >= 0.12.2   && < 1
                    , utf8-string >= 0.3      && < 1
                    , network     >= 2        && < 3
                    , css-text    >= 0.1.1    && < 0.2
                    , text        >= 0.11     && < 1
                    , attoparsec  >= 0.10.0.3 && < 1


    exposed-modules: Text.HTML.SanitizeXSS
    other-modules:   Text.HTML.SanitizeXSS.Css
    ghc-options:     -Wall

test-suite test
    type: exitcode-stdio-1.0
    main-is: test/main.hs
    cpp-options: -DTEST
    build-depends:   base == 4.* , containers
                    , tagsoup     >= 0.12.2   && < 1
                    , utf8-string >= 0.3      && < 1
                    , network     >= 2        && < 3
                    , css-text    >= 0.1.1    && < 0.2
                    , text        >= 0.11     && < 1
                    , attoparsec  >= 0.10.0.3 && < 1
                    , hspec       >= 1.3
                    , HUnit       >= 1.2


source-repository head
  type:     git 
  location: http://github.com/yesodweb/haskell-xss-sanitize.git