From d5348e49c6d8db1828afb5110fae81f92cf0f218 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 3 Jan 2024 22:39:17 -0600 Subject: [PATCH] fix wikipedia extract to not have '(; ' --- src/engines/answer/wikipedia.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engines/answer/wikipedia.rs b/src/engines/answer/wikipedia.rs index fc018be..b147cc9 100644 --- a/src/engines/answer/wikipedia.rs +++ b/src/engines/answer/wikipedia.rs @@ -75,7 +75,7 @@ pub fn parse_response(body: &str) -> eyre::Result { } let extract = extract - .replace("( ;", "(") + .replace("(; ", "(") .replace("( )", "") .replace("()", "");