Skip to main content

sanitize

Function sanitize 

Source
fn sanitize(text: &str, multiline: bool) -> String
Expand description

Escapes control characters. With multiline, line breaks become indented continuation lines.