Add regression tests with both whitespace lines and without
@@ -850,7 +850,12 @@ fn regression_test_61() {
#[test]
fn regression_test_62() {
- let original = r##"Some text.
+ let original = r##"* A list.
+
+ * A sublist.
+
+ * Another sublist.
+
* A list.
@@ -859,9 +864,19 @@ fn regression_test_62() {
* Another sublist.
"##;
- let expected = r##"<p>Some text.</p>
+ let expected = r##"<ul>
+<li>
+<p>A list.</p>
<ul>
<li>
+<p>A sublist.</p>
+</li>
+<li>
+<p>Another sublist.</p>
+</li>
+</ul>
+</li>
+<li>
<p>A list.</p>
<ul>
<li>
