tagstream-conduit-0.5.6: streamlined html tag parser
Text.HTML.TagStream.Entities
Description
HTML entity decoding.
data Dec builder string Source #
A decoder.
Constructors
Fields
isNameChar :: Char -> Bool Source #
Is the character valid in a Name?
isNameStart :: Char -> Bool Source #
Is the character a valid Name starter?
decodeEntities :: (Monad m, Monoid builder, Monoid string, IsString string, Eq string) => Dec builder string -> Conduit (Token' string) m (Token' string) Source #
A conduit to decode entities from a stream of tokens into a new stream of tokens.