From 84cad1854ae09ee7b6134f5639e162c0e8a2b010 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Mon, 28 Oct 2019 13:43:32 +0800 Subject: [PATCH] fix: fix argument type --- src/export/html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export/html.rs b/src/export/html.rs index bea3bfa..5322ac0 100644 --- a/src/export/html.rs +++ b/src/export/html.rs @@ -349,7 +349,7 @@ mod syntect_handler { Element::FixedWidth(fixed_width) => write!( w, "
{}
", - self.highlight(None, fixed_width.value) + self.highlight(None, &fixed_width.value) )?, Element::ExampleBlock(block) => write!( w,