seonbi-0.5.0: SmartyPants for Korean language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Seonbi.Html.Entity

Synopsis

Documentation

data HtmlEntity Source #

An event entity emitted by scanHtml.

Constructors

HtmlStartTag

Represent a token which opens an HTML element.

Note that rawAttributes is not a parsed and structured data but a raw string as its name implies.

The tagStack doesn't include the corresponding opened tag.

Fields

HtmlEndTag

Represent a token which closes an HTML element. The tagStack doesn't include the corresponding closed tag.

Fields

HtmlText

Represent a token of a text node. Note that rawText is not a parsed and structured data but a raw string as its name implies. There can be continuously more than one HtmlText values can be emitted even if they are not separated by element openings or closings.

Fields

HtmlCdata

Represent a token of a CDATA section.

Fields

HtmlComment

Represent a token of an HTML comment.

Fields

type HtmlRawAttrs = Text Source #

All element attributes in a string.