Issue Bug Closed

#21390Missing JS linebreak crashes output within IE 8.0 (non non-compatibility mode)

Marius Muehlberger 10/28/09, 12:39 updated 05/09/13, 12:16

Description

The problem is the same like http://bugs.typo3.org/view.php?id=8421.

New about this issue is, that it crashes the output on IE 8.0+ in non-compatibility mode which is default for many users.

The insert of the line-break may not be done within typo3/sysext/cms/tslib/class.tslib_pagegen.php because of the use of minifyJavaScript this will not take effect.

To be changed:
t3lib/class.t3lib_div.php
Line 2509
- return $script;
+ return “\n” . $script;

(issue imported from #M12378)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.