pub fn trim_element(e: Element<'_>, allow_structure_in_leaves: bool)
Not really meant to be public – used by tests in some packages