Skip to main content

readable

Function readable 

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

A text as the detectors read it: its web addresses left out (a tracking link is hundreds of characters long, and its digits are no code), with the brackets around them; invisible characters left out (the zero-width joiners that pad a newsletter’s preview line); each run of spaces made one space, or one line break when it holds one. A single space of any kind stays as it is: “482 913” with a narrow no-break space is still one code.