fix: whitespace after declaration without arguments

Closes: #76
main
Henrik Böving 2022-07-27 14:19:40 +02:00
parent 763784e116
commit 108d36d0f0
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def docInfoHeader (doc : DocInfo) : HtmlM Html := do
| DocInfo.classInfo i => nodes := nodes.append (←structureInfoHeader i) | DocInfo.classInfo i => nodes := nodes.append (←structureInfoHeader i)
| _ => nodes := nodes | _ => nodes := nodes
nodes := nodes.push <span class="decl_args">:</span> nodes := nodes.push <| Html.element "span" true #[("class", "decl_args")] #[" :"]
nodes := nodes.push <div class="decl_type">[←infoFormatToHtml doc.getType]</div> nodes := nodes.push <div class="decl_type">[←infoFormatToHtml doc.getType]</div>
pure <div class="decl_header"> [nodes] </div> pure <div class="decl_header"> [nodes] </div>