mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 14:59:14 +00:00
fixes #1667
This commit is contained in:
parent
96923edc53
commit
d7cec5b37c
@ -960,7 +960,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
|
||||
try out.write("</pre>");
|
||||
},
|
||||
Node.HeaderOpen => |info| {
|
||||
try out.print("<h{} id=\"{}\">{}</h{}>\n", info.n, info.url, info.name, info.n);
|
||||
try out.print("<h{} id=\"{}\"><a href=\"#{}\">{}</a></h{}>\n", info.n, info.url, info.url, info.name, info.n);
|
||||
},
|
||||
Node.SeeAlso => |items| {
|
||||
try out.write("<p>See also:</p><ul>\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user