From 05f55fc1caf718492b10ed033fbac05d3cb09339 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 9 Jan 2022 13:11:09 +0900 Subject: [PATCH] Add https scheme to mention URI in contents --- plume-common/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-common/src/utils.rs b/plume-common/src/utils.rs index cbb4db72..17912a02 100644 --- a/plume-common/src/utils.rs +++ b/plume-common/src/utils.rs @@ -271,7 +271,7 @@ pub fn md_to_html<'a>( media_processor: Option>, ) -> (String, HashSet, HashSet) { let base_url = if let Some(base_url) = base_url { - format!("//{}/", base_url) + format!("https://{}/", base_url) } else { "/".to_owned() };