From 982b7426ce5e46382e564d734ee327cf6d0f3c1f Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 7 Jun 2024 06:39:02 +0200 Subject: [PATCH] fix(mdhtml): oops missed this --- Cargo.lock | 2 +- utils/mdhtml/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f53c1de6..32fba258 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "mdhtml" -version = "0.1.0" +version = "0.1.1" dependencies = [ "comrak", "html5ever", diff --git a/utils/mdhtml/lib.rs b/utils/mdhtml/lib.rs index 6b89cf40..9f49b79c 100644 --- a/utils/mdhtml/lib.rs +++ b/utils/mdhtml/lib.rs @@ -102,5 +102,5 @@ pub fn safe_html(text: &str) -> String { } tok.end(); - tok.sink.0 + tok.sink.buffer }