mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
docgen: add a space between the header and the section symbol
This commit is contained in:
parent
83390bdfdd
commit
974977f12f
@ -966,7 +966,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
|
|||||||
},
|
},
|
||||||
Node.HeaderOpen => |info| {
|
Node.HeaderOpen => |info| {
|
||||||
try out.print(
|
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.n,
|
||||||
info.url,
|
info.url,
|
||||||
info.url,
|
info.url,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user