[PR #170] [MERGED] fix yaml frontmatter issue when ending with a empty line #844

Closed
opened 2026-01-29 14:46:17 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/170
Author: @yishengjin1413
Created: 11/20/2017
Status: Merged
Merged: 11/20/2017
Merged by: @xoofx

Base: masterHead: master


📝 Commits (1)

  • 58b1a48 fix yaml frontmatter issue when ending with a empty line

📊 Changes

3 files changed (+6 additions, -4 deletions)

View changed files

📝 src/Markdig.Tests/Specs/Specs.cs (+2 -1)
📝 src/Markdig.Tests/Specs/YamlSpecs.md (+1 -0)
📝 src/Markdig/Extensions/Yaml/YamlFrontMatterParser.cs (+3 -3)

📄 Description

@xoofx Please see the test case. We got another issue after fix issue160.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/170 **Author:** [@yishengjin1413](https://github.com/yishengjin1413) **Created:** 11/20/2017 **Status:** ✅ Merged **Merged:** 11/20/2017 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`58b1a48`](https://github.com/xoofx/markdig/commit/58b1a48f5b98d8679d1bf60bd8c526c946cb88be) fix yaml frontmatter issue when ending with a empty line ### 📊 Changes **3 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/Specs/Specs.cs` (+2 -1) 📝 `src/Markdig.Tests/Specs/YamlSpecs.md` (+1 -0) 📝 `src/Markdig/Extensions/Yaml/YamlFrontMatterParser.cs` (+3 -3) </details> ### 📄 Description @xoofx Please see the test case. We got another issue after fix [issue160](https://github.com/lunet-io/markdig/issues/160). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:46:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#844