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 a8022f3 commit 2b682b8Copy full SHA for 2b682b8
src/lists.rs
@@ -619,6 +619,8 @@ where
619
620
let post_snippet_trimmed = if post_snippet.starts_with(|c| c == ',' || c == ':') {
621
post_snippet[1..].trim_matches(white_space)
622
+ } else if post_snippet.starts_with(self.separator) {
623
+ post_snippet[self.separator.len()..].trim_matches(white_space)
624
} else if post_snippet.ends_with(',') {
625
post_snippet[..(post_snippet.len() - 1)].trim_matches(white_space)
626
} else {
0 commit comments