mirror of
https://github.com/xoofx/markdig.git
synced 2026-11-17 18:00:55 +00:00
Fix index check
This commit is contained in:
@@ -334,7 +334,7 @@ public struct StringLineGroup : IEnumerable
|
||||
goto Return;
|
||||
|
||||
MoveToNewLine:
|
||||
if (SliceIndex < _lines.Count - 1)
|
||||
if (SliceIndex < _lines.Lines.Length - 1)
|
||||
{
|
||||
SliceIndex++;
|
||||
_offset = -1;
|
||||
|
||||
Reference in New Issue
Block a user