diff options
Diffstat (limited to 'code/src/markdown.rs')
-rw-r--r-- | code/src/markdown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/src/markdown.rs b/code/src/markdown.rs index c194a07..5d98f83 100644 --- a/code/src/markdown.rs +++ b/code/src/markdown.rs @@ -29,7 +29,7 @@ pub fn blocks_to_html(blocks: Vec<Block>) -> String { Block::Paragraph(p) => format!("<p>{}</p>", span_to_html(p)), Block::Blockquote(q) => format!("<quote>{}</quote>", blocks_to_html(q)), Block::CodeBlock(_syntax, content) => { - format!("<code><pre>{}</pre></code>", escape(&content)) // TODO syntax highlighting + format!("<pre>{}</pre>", escape(&content)) // TODO syntax highlighting } Block::OrderedList(els, _) => format!( "<ol>{}</ol>", |