diff --git a/Classes/AssetCollector.php b/Classes/AssetCollector.php index 880d9df..6887443 100644 --- a/Classes/AssetCollector.php +++ b/Classes/AssetCollector.php @@ -13,8 +13,10 @@ */ use B13\Assetcollector\Resource\ResourceCompressor; +use Psr\Http\Message\ServerRequestInterface; use TYPO3\CMS\Core\Information\Typo3Version; use TYPO3\CMS\Core\SingletonInterface; +use TYPO3\CMS\Core\TypoScript\FrontendTypoScript; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\PathUtility; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; @@ -218,6 +220,7 @@ public function buildInlineXmlTag(): string . ''; } } + if (trim($inlineXml) !== '') { return '