We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5db1d commit fa61947Copy full SHA for fa61947
src/util.rs
@@ -156,9 +156,9 @@ pub fn escape_brackets(s: &str) -> String {
156
x.to_string()
157
} else {
158
if acc.ends_with("\\") {
159
- acc.to_owned() + "[" + &x.to_string()
+ acc.to_owned() + "]" + &x.to_string()
160
161
- acc.to_owned() + "\\[" + &x.to_string()
+ acc.to_owned() + "\\]" + &x.to_string()
162
}
163
164
})
0 commit comments