Definition list definitions treat blank lines differently from regular lists
Open
- Dominant language
- Haskell
- Stars
- 145
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to rationalize the behavior from https://github.com/pulldown-cmark/pulldown-cmark/issues/979, and having trouble seeing it.
```markdown
HTML In a Definition List
:
One space
More HTML In a Definition List
:
Two Spaces
```
The first one does what I would expect: the `
` is inside the definition.
The second one, however, is confusing. commonmark-hs puts the `
` inside the definition, even though itemized lists don't. This inconsistency between definition lists and itemized lists seems like a bug:
One space
- HTML *Outside* an Itemized List
-
Two Spaces
```
One space
- HTML *Outside* an Itemized List
-
Two Spaces
```markdown
- HTML In an Itemized List
-
One space
- HTML *Outside* an Itemized List
-
Two Spaces
```
- HTML In an Itemized List
-
One space
- HTML *Outside* an Itemized List
-
Two Spaces
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.