Skip to content

Commit 63283a1

Browse files
committed
fix missing model flag for <math>
as pointed out by #130
1 parent 6726262 commit 63283a1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/html/elements/math.zig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@ const AttributeSet = Attribute.AttributeSet;
1414
pub const math: Element = .{
1515
.tag = .math,
1616
.model = .{
17-
.categories = .{ .flow = true },
17+
.categories = .{
18+
.flow = true,
19+
.phrasing = true,
20+
},
1821
.content = .none,
1922
},
2023
.meta = .{
21-
.categories_superset = .{ .flow = true },
24+
.categories_superset = .{
25+
.flow = true,
26+
.phrasing = true,
27+
},
2228
},
2329
.attributes = .static,
2430
.content = .model,

0 commit comments

Comments
 (0)