From e8639baa2d91b653859fd8a3643c9c3127f0cece Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Fri, 24 Oct 2014 18:19:54 -0700 Subject: Added test case with heading in list item. --- spec.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spec.txt b/spec.txt index 93335de..e72f143 100644 --- a/spec.txt +++ b/spec.txt @@ -3005,6 +3005,21 @@ A list item may be empty: </ul> . +A list item can contain a header: + +. +- # Foo +- Bar + --- + baz +. +<ul> +<li><h1>Foo</h1></li> +<li><h2>Bar</h2> +<p>baz</p></li> +</ul> +. + ### Motivation John Gruber's Markdown spec says the following about list items: -- cgit v1.2.3