diff --git a/src/Model/Item.php b/src/Model/Item.php index 3eb2b3b90b4..cac836a7db8 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -3330,7 +3330,7 @@ class Item } $dom = new \DOMDocument(); - if (!@$dom->loadHTML($html)) { + if (empty($html) || !@$dom->loadHTML($html)) { return $html; }