Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
Pierre Tachoire
2025-08-08 16:17:52 +02:00
committed by GitHub
parent 7ffdee0d7f
commit 5e30a3997e

View File

@@ -92,7 +92,7 @@ pub fn writeNode(node: *parser.Node, opts: Opts, writer: anytype) anyerror!void
// void elements can't have any content.
if (try isVoid(parser.nodeToElement(node))) return;
// If we wrote the <header> and we want to include a <base>, add it
// If we wrote the <head> and we want to include a <base>, add it
// now.
if (opts.include_base != null and tag_type == .head) {
try writer.writeAll("<base href=\"");