Commit 73e150f1 authored by David Sveningsson's avatar David Sveningsson

fix: `<legend>` should allow heading elements

parent 964315b3
Pipeline #146160889 passed with stages
in 9 minutes and 8 seconds
......@@ -614,7 +614,7 @@
"legend": {
"deprecatedAttributes": ["align", "datasrc", "datafld", "dataformatas"],
"permittedContent": ["@phrasing"]
"permittedContent": ["@phrasing", "@heading"]
},
"li": {
......
......@@ -9,3 +9,10 @@
<span>foo</span>
</legend>
</fieldset>
<!-- should allow headings -->
<fieldset>
<legend>
<h1>foo</h1>
</legend>
</fieldset>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment