diff --git a/Model/BlockProcessor.php b/Model/BlockProcessor.php index edf919e..5300b77 100644 --- a/Model/BlockProcessor.php +++ b/Model/BlockProcessor.php @@ -56,7 +56,7 @@ public function __construct( */ public function wrapBlock($html, $blockId, $name) { - if ($html) { + if (trim($html)) { $html = '' . $html . ''; diff --git a/etc/module.xml b/etc/module.xml index 2e8f9f0..d923a59 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -21,7 +21,7 @@ --> - +