[PR #642] [MERGED] More accurate check for YAML renderers #1162

Open
opened 2026-01-29 14:50:44 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/642
Author: @mnaoumov
Created: 6/7/2022
Status: Merged
Merged: 6/15/2022
Merged by: @xoofx

Base: masterHead: issue-579


📝 Commits (2)

  • 9723eda More accurate check for YAML renderers
  • 5b6621d Add tests to cover all possible cases of adding Yaml renderers

📊 Changes

2 files changed (+83 additions, -1 deletions)

View changed files

src/Markdig.Tests/TestYamlFrontMatterExtension.cs (+78 -0)
📝 src/Markdig/Extensions/Yaml/YamlFrontMatterExtension.cs (+5 -1)

📄 Description

I found a minor flaw in PR #638, which could behave incorrectly in an edge case


🔄 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/642 **Author:** [@mnaoumov](https://github.com/mnaoumov) **Created:** 6/7/2022 **Status:** ✅ Merged **Merged:** 6/15/2022 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `issue-579` --- ### 📝 Commits (2) - [`9723eda`](https://github.com/xoofx/markdig/commit/9723eda455673df711b21d4f365b1c8cdc5090a9) More accurate check for YAML renderers - [`5b6621d`](https://github.com/xoofx/markdig/commit/5b6621d7293be4ef12f68e0442d8436984cae71b) Add tests to cover all possible cases of adding Yaml renderers ### 📊 Changes **2 files changed** (+83 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `src/Markdig.Tests/TestYamlFrontMatterExtension.cs` (+78 -0) 📝 `src/Markdig/Extensions/Yaml/YamlFrontMatterExtension.cs` (+5 -1) </details> ### 📄 Description I found a minor flaw in PR #638, which could behave incorrectly in an edge case --- <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:50:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1162