tagstream-conduit-0.5.6: streamlined html tag parser

Safe HaskellNone
LanguageHaskell2010

Text.HTML.TagStream.Entities

Description

HTML entity decoding.

Synopsis

Documentation

data Dec builder string Source #

A decoder.

Constructors

Dec 

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.