Skip to main content

build_blocks_from_groups_lenient

Function build_blocks_from_groups_lenient 

Source
pub fn build_blocks_from_groups_lenient(
    token_groups: &[TokenGroup],
) -> MdtResult<Vec<Block>>
Expand description

Like build_blocks_from_groups, but silently discards unclosed blocks instead of returning an error. Used for source files where HTML comments may appear in string literals without matching close tags.