From 91bc5b49cae559df9a6f1b79c38c141368ee0e0c Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Sun, 26 Feb 2023 12:59:46 +0800 Subject: [PATCH] c --- searx/webapp.py | 3 +-- searx/webapp1.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 100ad8390..5956c56a0 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -925,8 +925,7 @@ button.btn_more { const original_search_query = "''' + original_search_query.replace('"',"") + r'''" const search_queryquery = "''' + search_query.query.replace('"',"") + r'''" ''' # for i in range(1,16): diff --git a/searx/webapp1.py b/searx/webapp1.py index 7acf1cdb7..d347c8569 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1248,6 +1248,7 @@ for(let i=prompt.url_pair.length;i>=0;--i) { new_text = new_text.replaceAll("(url"+String(i),"(https://url"+String(i) ) new_text = new_text.replaceAll("(链接url"+String(i),"(https://url"+String(i) ) + new_text = new_text.replaceAll("(链接https://url"+String(i),"(https://url"+String(i) ) new_text = new_text.replaceAll("(链接"+String(i),"(https://url"+String(i) ) } new_text = replaceUrlWithFootnote(new_text)