Skip to content

Commit 5ea16b6

Browse files
committed
Allow | in caption
1 parent aa3d437 commit 5ea16b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function imagesParse($column = null, $index = null, $array = false)
2525
if ($array) {
2626
$array = [];
2727
foreach($images as $image) {
28-
$image = explode('|', $image);
28+
$image = explode('|', $image, 2);
2929
$array[] = [
3030
'file' => trim($image[0]),
3131
'caption' => trim($image[1] ?? null),

0 commit comments

Comments
 (0)