[[ Bug 13671 ]] Keep track of delimiter length when iterating over line or item chunks
Merge pull request #1276 from runrevali/bugfix-13671

[[ Bug 13671 ]] Track delimiter length when iterating over line/item chunks