Skip to content

Commit 077d5aa

Browse files
authored
FIX: Allow del and ins as phrasing content with transparent content model (#133)
Fixes #127
1 parent 7ed9567 commit 077d5aa

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

src/html/elements/ins_del.zig

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,18 @@ pub const ins: Element = .{
3131
pub const del: Element = .{
3232
.tag = .del,
3333
.model = .{
34-
.categories = .none,
35-
.content = .{ .flow = true },
34+
.categories = .{
35+
.flow = true,
36+
.phrasing = true,
37+
},
38+
.content = .transparent,
39+
},
40+
.meta = .{
41+
.categories_superset = .{
42+
.flow = true,
43+
.phrasing = true,
44+
},
3645
},
37-
.meta = .{ .categories_superset = .none },
3846
.attributes = .static,
3947
.content = .model,
4048
.desc =

0 commit comments

Comments
 (0)