aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-02-04 04:41:23 +0000
committerFuwn <[email protected]>2023-02-04 04:41:23 +0000
commit6e9a08675598f1c47dcbaa12edb3dddc64971e3b (patch)
treee7f619c7f6944ad14744c15a16de2ccd5213883e /src
parentbuild(rustup): move from nightly to stable) (diff)
downloadseptember-6e9a08675598f1c47dcbaa12edb3dddc64971e3b.tar.xz
september-6e9a08675598f1c47dcbaa12edb3dddc64971e3b.zip
fix(gemini_to_html.rs): remove html escaping
Diffstat (limited to 'src')
-rw-r--r--src/gemini_to_html.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gemini_to_html.rs b/src/gemini_to_html.rs
index 8359cfe..72574a4 100644
--- a/src/gemini_to_html.rs
+++ b/src/gemini_to_html.rs
@@ -42,9 +42,8 @@ pub fn gemini_to_html(
url: &Url,
is_proxy: bool,
) -> (String, String) {
- let ast_tree = germ::ast::Ast::from_string(&htmlescape::encode_minimal(
- &String::from_utf8_lossy(&response.data),
- ));
+ let ast_tree =
+ germ::ast::Ast::from_string(&String::from_utf8_lossy(&response.data));
let ast = ast_tree.inner();
let mut html = String::new();
let mut title = String::new();