mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #759] [MERGED] Make StringLineGroup returns a count limited Enumerator #1212
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/759
Author: @Akarinnnnn
Created: 12/11/2023
Status: ✅ Merged
Merged: 12/12/2023
Merged by: @xoofx
Base:
master← Head:fix-757📝 Commits (5)
2ab716bMake StringLineGroup returns a count limited Enumeratore78833aUpdate src/Markdig/Helpers/StringLineGroup.cs65a02e4AddEnumerator GetEnumerator()forStringLineGroupba1e562Fix complication error ofStringLineGroup.2ae2cf9Add tests for non-boxed enumerator ofStringLineGroup.📊 Changes
2 files changed (+57 additions, -4 deletions)
View changed files
📝
src/Markdig.Tests/TestStringSliceList.cs(+25 -1)📝
src/Markdig/Helpers/StringLineGroup.cs(+32 -3)📄 Description
Fixes #757, before we return the array enumerator directly, enumerate it will get phantom empty lines.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.