mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #471] [CLOSED] Fix Setext headings in block quotes #1050
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/471
Author: @hamvocke
Created: 8/28/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
38cbf61add failing test, partial fix for setext headings in blockquotes📊 Changes
4 files changed (+40 additions, -3 deletions)
View changed files
📝
src/Markdig.Tests/Specs/CommonMark.generated.cs(+24 -1)📝
src/Markdig.Tests/Specs/CommonMark.md(+14 -0)📝
src/Markdig/Parsers/ParagraphBlockParser.cs(+1 -1)📝
src/Markdig/Parsers/ThematicBreakParser.cs(+1 -1)📄 Description
This PR attempts to fix #465 (spoiler alert: I've introduced another problem).
I've added a new test that makes sure that this markdown
is parsed as a block quote containing a
h2. I made the test pass but introduced another regression around lazy continuations of block quotes. This is quite a head-scratcher for me so I'm getting this out with the failing test, maybe we can start discussing intermediate results and another pair of eyes helps fixing the remaining regression (or making sense of my overall approach)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.