diff --git a/src/EventListener/ParseBackendTemplateListener.php b/src/EventListener/ParseBackendTemplateListener.php new file mode 100644 index 0000000..71e099e --- /dev/null +++ b/src/EventListener/ParseBackendTemplateListener.php @@ -0,0 +1,30 @@ +HTML') === false + AND strpos($buffer, '
HTML
') === false + ){ + $objIt = new InsertTags(); + $buffer = $objIt->replace($buffer, true); + } + } + + return $buffer; + } +} diff --git a/src/Resources/contao/config/config.php b/src/Resources/contao/config/config.php index 3107c84..8c7f121 100644 --- a/src/Resources/contao/config/config.php +++ b/src/Resources/contao/config/config.php @@ -1,3 +1,8 @@