[][src]Function marked::filter::fold_empty_inline

pub fn fold_empty_inline(pos: NodeRef, data: &mut NodeData) -> Action

Fold meaningless inline elements, which are empty or contain only logical whitespace.

Logical whitespace is defined as all Unicode whitespace or control chars in child text, or the <br> element. Non-text oriented inline elements like <img> and <video> and other multi-media are excluded from consideration.

Should be run depth-first for complete filtering.