Skip to main content

build_fragment

Function build_fragment 

Source
pub fn build_fragment(
    context: &str,
    html: &str,
    compat: bool,
    scripting: bool,
) -> Vec<Node>
Expand description

断片の解析(§13.4 HTML fragment parsing algorithm)。context は td・svg path・math mi のような要素名。 戻り値は文脈要素の子になるノード列。