From 5e7209f4a669aa59947a923ea031c0be6c5abee0 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sun, 19 Jan 2025 20:01:51 +1300 Subject: Update supported markdown syntax Added math blocks, and changed link syntax, embedded file syntax, and bold line element syntax. --- src/collect_files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/collect_files.rs') diff --git a/src/collect_files.rs b/src/collect_files.rs index df4ac5e..14bf0c3 100644 --- a/src/collect_files.rs +++ b/src/collect_files.rs @@ -296,7 +296,7 @@ impl Website { pub fn has_static(&self, from: &impl LinkFrom, path: &str) -> Option { // Attach parent if not an absolute path. let path = match !path.starts_with('/') { - true => collapse_path(&format!("{}{path}", make_url_safe(from.parent_url()))), + true => collapse_path(&format!("{}{path}", from.parent_url())), false => collapse_path(path), }; for file in &self.static_files { -- cgit v1.2.3-70-g09d2