Skip to main content

clean

Function clean 

Source
fn clean(text: &str) -> String
Expand description

Runs of dots, dashes and question marks made one; a character repeated ten times or more, BB code and base64 blocks removed; markup brackets dropped, their text kept.