Skip to main content

Crate gukhanmun_html

Crate gukhanmun_html 

Source
Expand description

HTML fragment reader and writer for Gukhanmun.

Structs§

HtmlElementInfo
Information about a freshly opened HTML element passed to a user-supplied preserve predicate.
HtmlFragmentReader
Incremental HTML fragment reader.
HtmlFragmentWriter
Streaming HTML fragment writer.
HtmlReaderOptions
Caller-supplied configuration for the HTML reader.
HtmlScopeData
Adapter-owned scope data for HTML fragments.
InlineStartTag
Parsed details of an inline HTML start tag.

Enums§

HtmlError
Error returned while reading or writing HTML fragments.
InlineHtml
Classification of a single inline HTML fragment as produced by pulldown-cmark’s Event::InlineHtml.

Functions§

classify_inline_html
Classifies a single inline HTML fragment into its structural role.
convert_html_fragment
Converts an HTML fragment with default engine options.
convert_html_fragment_with_options
Converts an HTML fragment with explicit engine options.
is_korean_lang
Returns true when lang is a Korean BCP 47 primary or extended language tag.
read_html_fragment
Reads an HTML fragment into the core input-token stream.
read_html_fragment_iter
Reads an HTML fragment as an iterator over core input tokens.
read_html_fragment_iter_with_options
Iterator variant of read_html_fragment_with_options.
read_html_fragment_with_options
Reads an HTML fragment with caller-supplied HtmlReaderOptions.
try_convert_html_fragment
Converts an HTML fragment with an explicit recovery policy.
try_convert_html_fragment_with_options
Converts an HTML fragment with explicit engine options and recovery policy.
try_read_html_fragment
Reads an HTML fragment with an explicit recovery policy.
try_read_html_fragment_iter
Reads an HTML fragment as a fallible token stream.
try_read_html_fragment_iter_with_options
Fallible token-stream reader with caller-supplied HtmlReaderOptions.
try_read_html_fragment_with_options
Reads an HTML fragment with caller-supplied options and an explicit recovery policy.
write_html_fragment
Writes rendered HTML tokens back to a fragment string.