--- class.tslib_pagegen.php.old Mon Nov 22 15:03:47 2004 +++ class.tslib_pagegen.php Mon Nov 22 14:56:21 2004 @@ -605,8 +605,10 @@ $titleTagContent = $GLOBALS['TSFE']->cObj->callUserFunction($GLOBALS['TSFE']->config['config']['titleTagFunction'], array(), $titleTagContent); } - $GLOBALS['TSFE']->content.=' + if( strlen( $titleTagContent ) ) { + $GLOBALS['TSFE']->content.=' '.htmlspecialchars($titleTagContent).''; + } $GLOBALS['TSFE']->content.=' ';