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():