Closed jorams closed 4 years ago
Without this, Plump can generate an empty <a> as <a href="#"/>, which is interpreted by browsers as just a starting tag.
<a>
<a href="#"/>
It's not entirely clear to me what the scope of "grouping elements" is, but since <i> is in there I figured <a> would fit as well.
<i>
Grouping elements are elements that HTML defines to require a closing tag, but which cannot be self-closed with <foo/>, so they have to be <foo></foo>.
<foo/>
<foo></foo>
Without this, Plump can generate an empty
<a>
as<a href="#"/>
, which is interpreted by browsers as just a starting tag.It's not entirely clear to me what the scope of "grouping elements" is, but since
<i>
is in there I figured<a>
would fit as well.