docgen: add a space between the header and the section symbol

This commit is contained in:
Andrew Kelley 2019-04-05 23:12:25 -04:00
parent 83390bdfdd
commit 974977f12f
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9

View file

@ -966,7 +966,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
},
Node.HeaderOpen => |info| {
try out.print(
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a><a class=\"hdr\" href=\"#{}\">§</a></h{}>\n",
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a> <a class=\"hdr\" href=\"#{}\">§</a></h{}>\n",
info.n,
info.url,
info.url,