[ { "name": "empty", "html": "
", "index": 0, "expected": "" }, { "name": "single item", "html": "
Foo
", "index": 0, "expected": "

Foo

" }, { "name": "with siblings", "html": "
before
Foo
after
", "index": 1, "expected": "
before

Foo

after
" }, { "name": "templated list", "html": "
Foo
", "index": 0, "expected": "
Foo
" }, { "name": "single block item", "html": "
Foo
", "index": 0, "expected": "
Foo
" }, { "name": "mixed inline and block", "html": "
Foo
Bar
Baz
", "index": 0, "expected": "

Foo

Bar

Baz

" }, { "name": "multiple items", "html": "
Foo
Bar
", "index": 0, "expected": "

Foo

Bar

" }, { "name": "multiple items with whitespace", "html": "
\n
Foo
\n
Bar
\n
", "index": 0, "expected": "\n

Foo

\n

Bar

\n" }, { "name": "nested list", "html": "
Foo
Bar
", "index": 0, "expected": "

Foo

Bar
" } ]