Add https scheme to mention URI in contents
This commit is contained in:
parent
74aa291afd
commit
d6a0452d71
@ -287,7 +287,7 @@ pub fn md_to_html<'a>(
|
||||
media_processor: Option<MediaProcessor<'a>>,
|
||||
) -> (String, HashSet<String>, HashSet<String>) {
|
||||
let base_url = if let Some(base_url) = base_url {
|
||||
format!("//{}/", base_url)
|
||||
format!("https://{}/", base_url)
|
||||
} else {
|
||||
"/".to_owned()
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user