fix(calc): Replace Unicode 2212 (Minus Sign) with '-'
This commit is contained in:
parent
6057888643
commit
2e38c69b69
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ async fn qcalc(regex: &mut Regex, expression: &str, decimal_comma: bool) -> Opti
|
|||
normalized = &normalized[1..normalized.len() - 1];
|
||||
}
|
||||
|
||||
output.push_str(normalized);
|
||||
output.push_str(&normalized.replace('\u{2212}', "-"));
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue