fn filter_empty_ends(line_spans: &[SingleLineSpan]) -> Vec<SingleLineSpan>
Expand description

Skip line spans at the beginning or end that have zero width.