]> BookStack Code Mirror - bookstack/blobdiff - app/Util/HtmlDocument.php
respective book and chapter structure added.
[bookstack] / app / Util / HtmlDocument.php
index f0e12d52864a90a808b3959b4ba7283dc0c2e0c5..b8c53d43916294dccf63ed3821222f2888edf22d 100644 (file)
@@ -125,7 +125,7 @@ class HtmlDocument
      */
     public function getHtml(): string
     {
-        return $this->document->saveHTML();
+        return $this->document->saveHTML($this->document->documentElement);
     }
 
     /**