aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/content.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content.rs b/src/content.rs
index 6492431..4c71fd0 100644
--- a/src/content.rs
+++ b/src/content.rs
@@ -3,7 +3,7 @@ extern crate serde_json;
3extern crate cursive; 3extern crate cursive;
4extern crate regex; 4extern crate regex;
5 5
6use cursive::theme::{ BaseColor, Color, Effect, Style }; 6use cursive::theme::Effect;
7use cursive::utils::markup::StyledString; 7use cursive::utils::markup::StyledString;
8use cursive::Cursive; 8use cursive::Cursive;
9use cursive::views::Dialog; 9use cursive::views::Dialog;
@@ -22,6 +22,7 @@ pub fn query_url_gen(title: &str) -> String {
22 url.push_str("titles="); 22 url.push_str("titles=");
23 url.push_str(title); 23 url.push_str(title);
24 url.push_str("&"); 24 url.push_str("&");
25 url.push_str("redirects=1&");
25 url.push_str("explaintext=1"); 26 url.push_str("explaintext=1");
26 url 27 url
27} 28}