tagstream-conduit-0.5.5.3: streamlined html tag parser

Safe HaskellNone
LanguageHaskell98

Text.HTML.TagStream.Text

Synopsis

Documentation

type Attr = Attr' Text #

decodeEntitiesText :: Monad m => Conduit Token m Token #

Decode the HTML entities e.g. & in some text into &.

cond :: a -> a -> Bool -> a #

(||.) :: Applicative f => f Bool -> f Bool -> f Bool #

in2 :: Eq a => (a, a) -> a -> Bool #

in3 :: Eq a => (a, a, a) -> a -> Bool #

maybeP :: Parser a -> Parser (Maybe a) #

cc :: [Text] -> Builder #

tokenStreamBS :: MonadThrow m => Conduit ByteString m Token #

like tokenStream, but it process ByteString input, decode it according to xml version tag.

Only support utf-8 and iso8859 for now.