Skip to content

Commit 224d49b

Browse files
Allow mixed headings & other content in <summary>
Fixes #1092
1 parent b9634ee commit 224d49b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

schema/html5/applications.rnc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ datatypes w = "http://whattf.org/datatype-draft"
217217
)
218218
summary.inner =
219219
( common.inner.phrasing
220-
| h1.elem
221-
| h2.elem
222-
| h3.elem
223-
| h4.elem
224-
| h5.elem
225-
| h6.elem
226-
| hgroup.elem
220+
& h1.elem?
221+
& h2.elem?
222+
& h3.elem?
223+
& h4.elem?
224+
& h5.elem?
225+
& h6.elem?
226+
& hgroup.elem?
227227
)

0 commit comments

Comments
 (0)