From bc40e445bcc782cdcece84c1a9e2f95152ddf533 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 19 Feb 2023 22:29:44 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index c0fbe1e31..9e23807ef 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -741,7 +741,7 @@ def search(): for urls in url_pair.keys(): gpt = gpt.replace(urls,url_pair[urls]) if gpt and gpt!="": - for i in range(1,10) + for i in range(1,10): gpt.replace("["+i+"]","[^"+i+"]") gpt = markdown.markdown( gpt , extensions=['footnotes']) for urls in url_pair.keys():