Skip to main content

sanitize_description

Function sanitize_description 

Source
pub fn sanitize_description(desc: &str) -> String
Expand description

Sanitize a string for safe use in descriptions and comments.

Removes or escapes potentially dangerous characters.