Project

General

Profile

Actions

Bug #21390

closed

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

Added by Marius Muehlberger about 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

12378.diff (1.09 KB) 12378.diff Administrator Admin, 2010-08-10 15:05

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18793: Default Javascript browser detection doesn't work while using GMENUClosed2008-05-15

Actions
Actions

Also available in: Atom PDF