[PR #896] [MERGED] Remove leading newline in block attributes #1286

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/896
Author: @Asttear
Created: 9/27/2025
Status: Merged
Merged: 10/5/2025
Merged by: @xoofx

Base: masterHead: fix-block-attributes-newline


📝 Commits (2)

  • bf5a9ee Remove leading newline in block attributes
  • 431fec9 Add handling logic for \r\n

📊 Changes

3 files changed (+35 additions, -0 deletions)

View changed files

📝 src/Markdig.Tests/Specs/GenericAttributesSpecs.generated.cs (+17 -0)
📝 src/Markdig.Tests/Specs/GenericAttributesSpecs.md (+9 -0)
📝 src/Markdig/Extensions/GenericAttributes/GenericAttributesParser.cs (+9 -0)

📄 Description

fix #895


🔄 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/896 **Author:** [@Asttear](https://github.com/Asttear) **Created:** 9/27/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `fix-block-attributes-newline` --- ### 📝 Commits (2) - [`bf5a9ee`](https://github.com/xoofx/markdig/commit/bf5a9ee275308c7e47ffb4b4b57add06a35bade6) Remove leading newline in block attributes - [`431fec9`](https://github.com/xoofx/markdig/commit/431fec9e67755f50aa1cb4bf5926202a606f0896) Add handling logic for `\r\n` ### 📊 Changes **3 files changed** (+35 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/Specs/GenericAttributesSpecs.generated.cs` (+17 -0) 📝 `src/Markdig.Tests/Specs/GenericAttributesSpecs.md` (+9 -0) 📝 `src/Markdig/Extensions/GenericAttributes/GenericAttributesParser.cs` (+9 -0) </details> ### 📄 Description fix #895 --- <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:52:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1286