lib/combine_pdf/parser.rb in combine_pdf-1.0.13 vs lib/combine_pdf/parser.rb in combine_pdf-1.0.14
- old
+ new
@@ -416,10 +416,10 @@
##########################################
## XREF - check for encryption... anything else?
##########################################
elsif @scanner.scan(/xref/)
# skip list indetifier lines or list lines ([\d] [\d][\r\n]) ot ([\d] [\d] [nf][\r\n])
- while @scanner.scan(/[\s]*[\d]+[ \t]+[\d]+[ \t\r]*\n[\r]?/) || @scanner.scan(/[ \t]*[\d]+[ \t]+[\d]+[ \t]+[nf][\s]*/)
+ while @scanner.scan(/[\s]*[\d]+[ \t]+[\d]+[ \t]*[\n\r]+/) || @scanner.scan(/[ \t]*[\d]+[ \t]+[\d]+[ \t]+[nf][\s]*/)
nil
end
##########################################
## XREF location can be ignored
##########################################