pub fn escape_format_string(value: &str) -> String
Escape {{ and }} in a string so the format string parser treats them as literals.
{{
}}