From 21a011ac3b9b1865c7081ba4b32b0d0a333f7c98 Mon Sep 17 00:00:00 2001 From: buttle Date: Fri, 30 Jul 2021 01:39:16 +0200 Subject: [PATCH] adds parsedown condition --- src/Site/BlockLayout/SimpleMDText.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Site/BlockLayout/SimpleMDText.php b/src/Site/BlockLayout/SimpleMDText.php index 838753e..b802bfa 100644 --- a/src/Site/BlockLayout/SimpleMDText.php +++ b/src/Site/BlockLayout/SimpleMDText.php @@ -10,6 +10,7 @@ use Laminas\View\Renderer\PhpRenderer; use Laminas\Form\FormElementManager; use SimpleMDText\Form\SimpleMDTextBlockForm; + $list_of_includes = get_included_files(); $parsedown_included=false; foreach ($list_of_includes as $file_path) {