diff --git a/epub.php b/epub.php index 3ca211c..1330187 100644 --- a/epub.php +++ b/epub.php @@ -53,6 +53,16 @@ return $temp_img_path; } + function inner_html($node) + { + $innerHTML = ''; + foreach ($node->childNodes as $childNode) + { + $innerHTML .= $childNode->ownerDocument->saveHTML($childNode); + } + return $innerHTML; + } + date_default_timezone_set('Europe/Paris'); $date = (new DateTime('today'))->format('Ymd');