Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (revision 8546) +++ t3lib/class.t3lib_div.php (working copy) @@ -2792,7 +2792,7 @@ self::devLog($error, 't3lib_div', 2, array('JavaScript' => $script, 'Stack trace' => $e->getTrace())); } - return $script; + return $script . LF; } Index: typo3/sysext/cms/tslib/class.tslib_pagegen.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_pagegen.php (revision 8546) +++ typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy) @@ -832,7 +832,7 @@ function blurLink(theObject) { // if (msie4) {theObject.blur();} } - ' . $JSef[0]; + ' . $JSef[0] . LF; if ($GLOBALS['TSFE']->spamProtectEmailAddresses && $GLOBALS['TSFE']->spamProtectEmailAddresses !== 'ascii') { $scriptJsCode .= ' @@ -868,7 +868,7 @@ function linkTo_UnCryptMailto(s) { location.href = decryptString(s,' . ($GLOBALS['TSFE']->spamProtectEmailAddresses * - 1) . '); } - '; + ' . LF; } //add inline JS