Skip to content

Commit

Permalink
Update PdftkDumpParser.php
Browse files Browse the repository at this point in the history
Added limiter to explode, so that it ignores any : inside description
  • Loading branch information
slejnej authored Jan 25, 2018
1 parent 04ead97 commit 218cbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wesnick/FdfUtility/Parser/PdftkDumpParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private function processFieldBlock($start, $stop)
continue;
}

list($index, $value) = array_map('trim', explode(':', $this->currentContents[$x]));
list($index, $value) = array_map('trim', explode(':', $this->currentContents[$x], 2));

// Options are an array
if ('FieldStateOption' === $index) {
Expand Down

0 comments on commit 218cbea

Please sign in to comment.