authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:41:24 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:41:24 -07:00
log2cf5f7d0ef78764d4f4e4bf3cc8902a84c72d627
treef59a022427fde843f6ae0a6065cee34dc16c4869
parent24e87dfa6a592022f8fda58d9cfe9d9934a9adc7

compile- print html5 doctype header before document


1 files changed, 1 insertions(+), 0 deletions(-)

src/lib.zig+1
......@@ -33,6 +33,7 @@ pub fn parse(comptime input: []const u8) astgen.Value {
3333}
3434
3535pub fn compile(writer: anytype, comptime value: astgen.Value, data: anytype) !void {
36 try writer.writeAll("<!DOCTYPE html>\n");
3637 try do(writer, value, data, data, 0, false);
3738}
3839