-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I'm trying to rationalize the behavior from pulldown-cmark/pulldown-cmark#979, and having trouble seeing it.
HTML In a Definition List
:
<div>
<span>One space</span>
</div>
More HTML In a Definition List
:
<div>
<span>Two Spaces</span>
</div>
The first one does what I would expect: the <div>
is inside the definition.
The second one, however, is confusing. commonmark-hs puts the <div>
inside the definition, even though itemized lists don't. This inconsistency between definition lists and itemized lists seems like a bug:
- HTML In an Itemized List
-
<div>
<span>One space</span>
</div>
- HTML *Outside* an Itemized List
-
<div>
<span>Two Spaces</span>
</div>
- HTML In an Itemized List
-
One space
- HTML Outside an Itemized List
Two Spaces
Metadata
Metadata
Assignees
Labels
No labels