tagstream-conduit-0.5.5.2: streamlined html tag parser

Safe HaskellNone

Text.HTML.TagStream.Text

Synopsis

Documentation

decodeEntitiesText :: Monad m => Conduit Token m TokenSource

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

cond :: a -> a -> Bool -> aSource

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

in2 :: Eq a => (a, a) -> a -> BoolSource

in3 :: Eq a => (a, a, a) -> a -> BoolSource

tokenStreamBS :: MonadThrow m => Conduit ByteString m TokenSource

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

Only support utf-8 and iso8859 for now.