fix: unclosed headings in html
This commit is contained in:
parent
91ed65439c
commit
88ddd4608e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ fn render_markdown<'md>(src: &'md str, mut p: ParserVars<'md>) -> std::io::Resul
|
|||
p.links.clear();
|
||||
}
|
||||
}
|
||||
Heading(level) => p.html.write_fmt(format_args!("<{}>", level))?,
|
||||
Heading(level) => p.html.write_fmt(format_args!("</{}>", level))?,
|
||||
BlockQuote(_) => p.html.write_all(b"</blockquote>")?,
|
||||
CodeBlock => {
|
||||
p.html.write_all(b"</code></pre>")?;
|
||||
|
|
Loading…
Add table
Reference in a new issue