--HG--
extra : rebase_source : 8db6794fe020fc6b92bbe9a8dab97f178eadfa2a
This commit is contained in:
Sébastien Lucas 2013-09-08 18:33:33 +02:00
parent 5851ede5c4
commit 59f59c6348

View file

@ -48,7 +48,7 @@ try {
}
$comp = $book->getComponentName ($component, $path);
if (!$comp) return "#";
return "$method'epubfs.php?{$add}comp={$comp}{$hash}'{$end}";
return str_replace ("&", "&", "{$method}'epubfs.php?{$add}comp={$comp}{$hash}'{$end}");
};
$data = preg_replace_callback ("/(src=)[\"']([^:]*?)[\"']/", $callback, $data);