mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix quotes value being cut off
This commit is contained in:
parent
376f688ff4
commit
f29e48ea74
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ pub(super) fn next_param<'a>(input: &'a str, current_pos: usize) -> Option<Match
|
|||
if let Some(end_quote_pos) = find_quotes(substr_to_match) {
|
||||
// return quoted string, without quotes
|
||||
return Some(MatchedParam {
|
||||
value: &substr_to_match[1..end_quote_pos - 1],
|
||||
value: &substr_to_match[1..end_quote_pos],
|
||||
next_pos: current_pos + end_quote_pos + 1,
|
||||
in_quotes: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue