summaryrefslogtreecommitdiff
path: root/src/string_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_utils.rs')
-rw-r--r--src/string_utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_utils.rs b/src/string_utils.rs
index cceb575..3c3b2e6 100644
--- a/src/string_utils.rs
+++ b/src/string_utils.rs
@@ -107,7 +107,7 @@ pub fn sanitize_text(text: &str, fancy: bool) -> String {
true => chars[i + 1],
false => ' ',
};
- let is_whitespace = |c: char| c.is_whitespace() || "()[].,".contains(c);
+ let is_whitespace = |c: char| c.is_whitespace() || "()[]".contains(c);
match c {
'&' => {