Skip to main content

clean_line

Function clean_line 

Source
pub fn clean_line(raw: &str, max: usize) -> String
Expand description

One line for display: bidi-override characters removed, control characters turned into spaces, whitespace collapsed, cut at max characters.