fix: fix argument type

This commit is contained in:
PoiScript 2019-10-28 13:43:32 +08:00
parent 948b1be2db
commit 84cad1854a

View file

@ -349,7 +349,7 @@ mod syntect_handler {
Element::FixedWidth(fixed_width) => write!(
w,
"<pre class=\"example\">{}</pre>",
self.highlight(None, fixed_width.value)
self.highlight(None, &fixed_width.value)
)?,
Element::ExampleBlock(block) => write!(
w,