trim numbat autocomplete so it doesn't get duplicated with google's calculator

This commit is contained in:
mat 2024-04-13 00:59:56 -05:00
parent afef2e25ff
commit 8f607de532

View File

@ -109,7 +109,7 @@ fn evaluate_for_autocomplete(query: &str) -> Option<String> {
InterpreterResult::Continue => return None,
};
Some(res_markup.to_string())
Some(res_markup.to_string().trim().to_string())
}
pub struct NumbatResponse {