deltachat::dehtml

Function maybe_push_tag

source
fn maybe_push_tag(
    event: &BytesStart<'_>,
    reader: &Reader<impl BufRead>,
    tag_name: &str,
    count: &mut u32,
)
Expand description

In order to know when a specific tag is closed, we need to count the opening and closing tags. The countss are stored in the Dehtml struct.