lol_html 2.7.2

Streaming HTML rewriter/parser with CSS selector-based API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define_state_group!(cdata_section_states_group = {

    #[cold]
    cdata_section_state {
        memchr(b']') => ( emit_text?; --> #[inline] cdata_section_bracket_state )
        eoc  => ( emit_text?; )
        eof  => ( emit_text_and_eof?; )
    }

    cdata_section_bracket_state {
        [ "]>" ] => ( emit_raw_without_token?; leave_cdata; --> data_state )
        eof      => ( emit_text_and_eof?; )
        _        => ( emit_text?; reconsume in cdata_section_state )
    }
});