From 8e25ab179ebfdcd8500d04ff6417e3085323fa91 Mon Sep 17 00:00:00 2001 From: Hayate Nakano Date: Sun, 19 Feb 2023 17:31:42 +0900 Subject: [PATCH] bug fix --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 987005e..23fdee4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -641,7 +641,7 @@ dependencies = [ [[package]] name = "notion2pandoc" -version = "0.5.0" +version = "0.5.1" dependencies = [ "async-recursion", "chrono", diff --git a/Cargo.toml b/Cargo.toml index e025dd3..ce6adbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" name = "notion2pandoc" readme = "README.md" repository = "https://github.com/ho-oto/notion2pandoc" -version = "0.5.0" +version = "0.5.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index a5e26b6..bdf7f7f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -297,6 +297,8 @@ impl notion::Inline { if *attr_last == attr && *trg_last == trg { vec_last.append(&mut vec); } + } else { + result.push(inline); } } else { result.push(inline);