Commit 5272c984 authored by David Maus's avatar David Maus
Browse files

Skip over record-preceeding whitespace in PicaNormReader

* HAB/Pica/Reader/PicaNormReader.php (open): Skip over preceeding whitespace.
parent 6518d995
...@@ -109,6 +109,10 @@ class PicaNormReader extends Reader ...@@ -109,6 +109,10 @@ class PicaNormReader extends Reader
$this->stream = $stream; $this->stream = $stream;
$this->bufferSize = 0; $this->bufferSize = 0;
$this->bufferPosition = 0; $this->bufferPosition = 0;
// Skip over preceeding whitespace
while (!ctype_alnum($this->getc(true))) {
$this->getc();
}
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment