Skip to content

Commit ceadb4d

Browse files
committed
use | as title separator. fixes #183
Existing syntax needs to be adjusted
1 parent 214eb85 commit ceadb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/ListGallery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct($src, Options $options)
1717

1818
foreach ($src as $item) {
1919
[$img, $meta] = sexplode(' ', $item, 2);
20-
[$title, $desc] = sexplode('-', $meta, 2);
20+
[$title, $desc] = sexplode('|', $meta, 2);
2121

2222
$img = trim($img);
2323
$title = trim($title);

0 commit comments

Comments
 (0)