mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
[PR #49] Fixes issue where multiple definition lists are created when they are nested in a list item. #791
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/xoofx/markdig/pull/49
State: closed
Merged: Yes
I've experienced an issue where a nested definition list outputs multiple definition lists, instead of one list with multiple terms.
The following markdown:
is rendered as:
instead of:
I've tracked this down to the way the
DefinitionListParserwill look for the item before the lastParagraphBlockfor an existingDefinitionListbut, when theDefinitionListis nested in aListItem, there will be an additionalBlankItemBlockbetween them.