[BUGFIX] noTrimWrap = | || won't work inside a menu
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / TypoScript / TemplateService.php
index 8c29cda..cfb039d 100644 (file)
@@ -1170,7 +1170,7 @@ class TemplateService {
                                        }
                                } else {
                                        // Splitting of all values on this level of the TypoScript object tree:
-                                       if (!strstr($val, '|*|') && !strstr($val, '||')) {
+                                       if ($cKey === 'noTrimWrap' || (!strstr($val, '|*|') && !strstr($val, '||'))) {
                                                for ($aKey = 0; $aKey < $splitCount; $aKey++) {
                                                        $conf2[$aKey][$cKey] = $val;
                                                }