trim numbat autocomplete so it doesn't get duplicated with google's calculator
This commit is contained in:
parent
afef2e25ff
commit
8f607de532
@ -109,7 +109,7 @@ fn evaluate_for_autocomplete(query: &str) -> Option<String> {
|
|||||||
InterpreterResult::Continue => return None,
|
InterpreterResult::Continue => return None,
|
||||||
};
|
};
|
||||||
|
|
||||||
Some(res_markup.to_string())
|
Some(res_markup.to_string().trim().to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct NumbatResponse {
|
pub struct NumbatResponse {
|
||||||
|
Loading…
Reference in New Issue
Block a user