We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0c72f commit bc8ba4fCopy full SHA for bc8ba4f
src/Markdig.Tests/MiscTests.cs
@@ -317,4 +317,26 @@ public void RootInlineInTableCellHasCorrectSourceSpan()
317
Assert.That(paragraph.Inline.Span.Start == paragraph.Inline.FirstChild.Span.Start);
318
Assert.That(paragraph.Inline.Span.End == paragraph.Inline.LastChild.Span.End);
319
}
320
+
321
+ [Test]
322
+ public void TestDefinitionListInListItemWithBlankLine()
323
+ {
324
+ var input = @"
325
+-
326
327
+ term
328
+ : definition
329
+";
330
331
+ var expected = @"<ul>
332
+<li>
333
+<dl>
334
+<dt>term</dt>
335
+<dd>definition</dd>
336
+</dl>
337
+</li>
338
+</ul>
339
340
+ TestParser.TestSpec(input, expected, new MarkdownPipelineBuilder().UseDefinitionLists().Build());
341
+ }
342
0 commit comments