vdoc: fix code formatting

This commit is contained in:
Daniel Däschle 2020-06-08 13:11:55 +02:00 committed by GitHub
parent dabfc4ebd0
commit 344e9b440a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View file

@ -272,7 +272,7 @@ fn doc_node_html(dd doc.DocNode, link string, head bool, tb &table.Table) string
if head {
dnw.write(md_content)
} else {
dnw.writeln('<pre class="signature language-v"><code class="language-v">$hlighted_code</code></pre>')
dnw.writeln('<pre class="signature"><code>$hlighted_code</code></pre>')
dnw.writeln(md_content)
}
dnw.writeln('</section>')