Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make StringLineGroup returns a count limited Enumerator #759

Merged
merged 5 commits into from
Dec 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix complication error of StringLineGroup.
  • Loading branch information
Akarinnnnn authored Dec 12, 2023
commit ba1e562d2fe7418efeb53f466712bbd6ad9c39f9
2 changes: 1 addition & 1 deletion src/Markdig/Helpers/StringLineGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public Enumerator GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
{
(IEnumerator)GetEnumerator();
return GetEnumerator();
}

private void IncreaseCapacity()
Expand Down