From d42821a6ebe2f1820f24f55e214a189c40640bcc Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 16 Dec 2020 10:27:03 +0100 Subject: [PATCH] Fix image href pointing to non existent files Signed-off-by: trivernis --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/format/html/to_html.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ca191dc..e412a83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1908,7 +1908,7 @@ checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" [[package]] name = "snekdown" -version = "0.30.4" +version = "0.30.5" dependencies = [ "asciimath-rs", "base64 0.12.3", diff --git a/Cargo.toml b/Cargo.toml index 5b80594..149cd8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snekdown" -version = "0.30.4" +version = "0.30.5" authors = ["trivernis "] edition = "2018" license-file = "LICENSE" diff --git a/src/format/html/to_html.rs b/src/format/html/to_html.rs index d351c3e..fc4ccf3 100644 --- a/src/format/html/to_html.rs +++ b/src/format/html/to_html.rs @@ -420,7 +420,7 @@ impl ToHtml for Image { } if let Some(description) = self.url.description.clone() { writer.write("