mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Typo fix
This commit is contained in:
parent
92f93117dd
commit
0a1c8696b4
@ -14,7 +14,7 @@ use crate::{Result, ILIAS_URL};
|
|||||||
|
|
||||||
/// Prepends a doctype and a base URL to the HTML fragment.
|
/// Prepends a doctype and a base URL to the HTML fragment.
|
||||||
pub fn wrap_html(html_fragment: &str) -> String {
|
pub fn wrap_html(html_fragment: &str) -> String {
|
||||||
format!(r#"<!DOCTYPE html>\n<base href="{}">{}"#, ILIAS_URL, html_fragment)
|
format!("<!DOCTYPE html>\n<base href=\"{}\">{}", ILIAS_URL, html_fragment)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn write_stream_to_file(
|
pub async fn write_stream_to_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user