diff --git a/src/html/named_character_references.zig b/src/html/named_character_references.zig
index 9898caa..37be167 100644
--- a/src/html/named_character_references.zig
+++ b/src/html/named_character_references.zig
@@ -62,7 +62,7 @@ fn findInList(first_child_index: u12, char: u8) ?u12 {
unreachable;
}
-pub const Node = struct {
+pub const Node = packed struct(u22) {
char: u8,
/// If true, this node is the end of a valid named character reference.
/// Note: This does not necessarily mean that this node does not have child nodes.