mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
[PR #55] [MERGED] Checks if paragraph block is closed when deciding if continuation list is allowable with character other than '1.' #789
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?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/55
Author: @christophano
Created: 9/9/2016
Status: ✅ Merged
Merged: 9/14/2016
Merged by: @xoofx
Base:
master← Head:bugfix/restart-list-after-paragraph📝 Commits (1)
e7b9eeaChecks if paragraph block is closed when deciding if continuation list is allowable with character other than '1.'📊 Changes
4 files changed (+60 additions, -3 deletions)
View changed files
📝
src/Markdig.Tests/Specs/ListExtraSpecs.md(+18 -0)📝
src/Markdig.Tests/Specs/Specs.cs(+30 -0)📝
src/Markdig/Parsers/BlockProcessor.cs(+5 -0)📝
src/Markdig/Parsers/ListBlockParser.cs(+7 -3)📄 Description
This fixes #54.
Due to the way
IBlock.IsOpenis used, it wasn't possible to just check that property, so I have added an internal method toBlockProcesserto check if the block is still contained in theOpenedBlockscollection.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.