diff --git a/src/preprocess/links.rs b/src/preprocess/links.rs index d7a36a19..2b435a3f 100644 --- a/src/preprocess/links.rs +++ b/src/preprocess/links.rs @@ -180,7 +180,7 @@ fn return_relative_path>(base: P, relative: P) -> PathBuf { } fn parse_include_path(path: &str) -> LinkType<'static> { - let mut parts = path.split(':').fuse(); + let mut parts = path.splitn(4, ':').fuse(); let path = parts.next().unwrap().into(); let next_element = parts.next();