Index: typo3/sysext/cms/tslib/class.tslib_pibase.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_pibase.php (revision 4691) +++ typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy) @@ -801,10 +801,10 @@ * @return string HTML content wrapped, ready to return to the parent object. */ function pi_wrapInBaseClass($str) { - $content = '
- '.$str.' -
- '; + $content = $str ? '
+ ' . $str . ' +
+ ' : ''; if(!$GLOBALS['TSFE']->config['config']['disablePrefixComment']) { $content = '