mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Codeblock in list #157
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?
Originally created by @yishengjin1413 on GitHub (Nov 9, 2017).
Hi @xoofx,
We got some issue when "----" appeared in codeblock under listitem. Here is an example:
The render result of the above content will have
hr. But actually it's the part of content. You can have a check here.I checked the source code and seems
hrwill close the list. How about add a condition!(processor.LastBlock is FencedCodeBlock)in ListBlockarser#L89. Seems codeblock is the only special case.@xoofx commented on GitHub (Nov 9, 2017):
Thanks, good catch, this is fixed by
523582e