diff --git a/resources/php-epub-meta/epub.php b/resources/php-epub-meta/epub.php index 2099e83..60614ae 100644 --- a/resources/php-epub-meta/epub.php +++ b/resources/php-epub-meta/epub.php @@ -599,8 +599,8 @@ class EPub { if ($b[0] == "/") throw new InvalidArgumentException("Second path part must not start with " . $m_Separator); - $splittedA = preg_split("/", $a); - $splittedB = preg_split("/", $b); + $splittedA = preg_split("#/#", $a); + $splittedB = preg_split("#/#", $b); $pathParts = array(); $mergedPath = array_merge($splittedA, $splittedB);