Skip to content

Commit

Permalink
Allow | in caption
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdekruijk committed Dec 9, 2019
1 parent aa3d437 commit 5ea16b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Images.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function imagesParse($column = null, $index = null, $array = false)
if ($array) {
$array = [];
foreach($images as $image) {
$image = explode('|', $image);
$image = explode('|', $image, 2);
$array[] = [
'file' => trim($image[0]),
'caption' => trim($image[1] ?? null),
Expand Down

0 comments on commit 5ea16b6

Please sign in to comment.