mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-13 18:34:58 +08:00
handle presence of endobj markers in object stream #235
This commit is contained in:
@@ -800,6 +800,13 @@
|
||||
|
||||
var token = scanner.CurrentToken;
|
||||
|
||||
if (token.Equals(OperatorToken.EndObject))
|
||||
{
|
||||
scanner.MoveNext();
|
||||
|
||||
token = scanner.CurrentToken;
|
||||
}
|
||||
|
||||
results.Add(new ObjectToken(offset, new IndirectReference(obj.Item1, 0), token));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user