Commit b2597fd4 authored by Stanislas Rolland's avatar Stanislas Rolland Committed by Oliver Hader
Browse files

[BUGFIX] RTE on first new IRRE record keeps loading in IE

Problem: IE raises a syntax error when it encounters html comments in
the JavaScript code. The html comments are added by the page renderer.
Solution: There is no need for the page renderer to wrap inline
javascript as html comments.

Resolves: #55457
Releases: 6.2, 6.1, 4.5
Change-Id: Iae180a73778ca3bb1c9934c887315b969888b10d
Reviewed-on: http://review.typo3.org/30240


Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
parent 3f3c45e3
......@@ -158,8 +158,8 @@ class t3lib_PageRenderer implements t3lib_Singleton {
$this->backPath = isset($backPath) ? $backPath : $GLOBALS['BACK_PATH'];
$this->inlineJavascriptWrap = array(
'<script type="text/javascript">' . LF . '/*<![CDATA[*/' . LF . '<!-- ' . LF,
'// -->' . LF . '/*]]>*/' . LF . '</script>' . LF
'<script type="text/javascript">' . LF . '/*<![CDATA[*/' . LF,
'/*]]>*/' . LF . '</script>' . LF
);
$this->inlineCssWrap = array(
'<style type="text/css">' . LF . '/*<![CDATA[*/' . LF . '<!-- ' . LF,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment