From 0a1c8696b49283f2225f9c2529e882e29958f608 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 28 Jun 2021 18:42:50 +0200 Subject: [PATCH] Typo fix --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index 7904af1..57a06f4 100644 --- a/src/util.rs +++ b/src/util.rs @@ -14,7 +14,7 @@ use crate::{Result, ILIAS_URL}; /// Prepends a doctype and a base URL to the HTML fragment. pub fn wrap_html(html_fragment: &str) -> String { - format!(r#"\n{}"#, ILIAS_URL, html_fragment) + format!("\n{}", ILIAS_URL, html_fragment) } pub async fn write_stream_to_file(