Skip to main content

sanitize_code_block

Function sanitize_code_block 

Source
fn sanitize_code_block(s: &str) -> String
Expand description

Replaces code fences in s so they can’t break out of a code block they’re embedded in.