diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-01-19 20:01:51 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-01-19 20:01:51 +1300 |
commit | 5e7209f4a669aa59947a923ea031c0be6c5abee0 (patch) | |
tree | 5399286739401639eb442bef0218b09e15c4d093 /src/collect_files.rs | |
parent | 1e961e4f7afcc90b1c912ad16ef50aee3a1e2303 (diff) | |
download | toaster-5e7209f4a669aa59947a923ea031c0be6c5abee0.zip |
Update supported markdown syntax
Added math blocks, and changed link syntax, embedded file syntax, and
bold line element syntax.
Diffstat (limited to 'src/collect_files.rs')
-rw-r--r-- | src/collect_files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> { // 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 { |