[ { "msg": "Simple message", "html": "

Foo bar

", "expected": "

Foo bar

" }, { "msg": "Simple message (from wikitext mode)", "html": "

", "expected": "

" }, { "msg": "List", "html": "

Foo bar

- A
- B

", "expected": "

Foo bar

- A
- B

" }, { "msg": "List (from wikitext mode)", "html": "

", "expected": "

" }, { "msg": "Empty trailing paragraph", "html": "

Foo bar

", "expected": "

Foo bar

" }, { "msg": "Empty template-generated paragraph not removed", "html": "

", "expected": "

" } ]