diff options
author | Qrius <[email protected]> | 2024-09-26 00:11:05 +0200 |
---|---|---|
committer | Qrius <[email protected]> | 2024-09-26 00:11:05 +0200 |
commit | 16f0edd24e5b436e0e5894379248a31a6ec1c029 (patch) | |
tree | 03f853487a819dcec3b6588906abda9d0dc1ffae | |
parent | 7050727a2683761beac9e4f123112d62b605db4f (diff) | |
download | skaldpress-16f0edd24e5b436e0e5894379248a31a6ec1c029.tar.gz skaldpress-16f0edd24e5b436e0e5894379248a31a6ec1c029.zip |
Fix bug
-rw-r--r-- | src/skaldpress/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skaldpress/main.rs b/src/skaldpress/main.rs index 57f3106..bd0ebd3 100644 --- a/src/skaldpress/main.rs +++ b/src/skaldpress/main.rs @@ -347,7 +347,7 @@ fn compile_file(file_path: &Path, opts: &Opts) -> Result<CompiledFile, Skaldpres let file_content = match extension { "md" => format!(r#"html_from_markdown(%"{}"%)"#, file_content), - content => content.to_string(), + _ => file_content.to_string(), }; let Some(template) = &map.get("template") else { |