Skip to main content

sanitize_description

Function sanitize_description 

Source
pub fn sanitize_description(text: &str) -> (String, bool)
Expand description

In a task file ## starts a section and, inside Comments, ### starts a comment. Headings typed into a description or comment are pushed below those levels so they can’t break the file. Returns the text and whether anything was changed.