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 }