Skip to content

Commit

Permalink
Follow suggestion in src/resolve.rs
Browse files Browse the repository at this point in the history
Escape colon also in non-verbatim mode

Co-authored-by: Martin Haug <mhaug@live.de>
  • Loading branch information
mutlusun and reknih authored May 3, 2022
1 parent dcc129f commit b58244c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ pub fn is_escapable(c: char, verb: bool, read_char: bool) -> bool {
match c {
'{' | '}' | '\\' => true,
'&' | '%' | '$' | '_' if !verb => true,
':' if read_char => true,
':' if read_char || !verb => true,
_ => false,
}
}
Expand Down

0 comments on commit b58244c

Please sign in to comment.