Skip to main content

shorten

Function shorten 

Source
fn shorten(body: String) -> String
Expand description

The body cut at SNIPPET_CHARS characters and put on one line.

The cut counts characters, so it never splits one.