aboutsummaryrefslogtreecommitdiff
path: root/src/content.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.rs')
-rw-r--r--src/content.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/content.rs b/src/content.rs
index a192446..d767f9c 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -31,7 +31,6 @@ pub fn query_url_gen(title: &str) -> String {
31 31
32pub fn search_url_gen(search: &str) -> String { 32pub fn search_url_gen(search: &str) -> String {
33 // search config 33 // search config
34 let search = search.replace(" ", "%20");
35 let mut url = CONFIGURATION.wiki_url.clone(); 34 let mut url = CONFIGURATION.wiki_url.clone();
36 url.push_str("/w/api.php?"); 35 url.push_str("/w/api.php?");
37 url.push_str("action=opensearch&"); 36 url.push_str("action=opensearch&");