Bug #22023
closedHTML cObject parser in t3editor fails to properly find matching parentheses
0%
Description
In the following code in editing template records, the t3editor fails to realize where the parentheses close, therefore it fails to properly parse the HTML code generating incomplete HTML in previews.
The code is as follows:
page.10 = HTML
page.10.value (
<script language="javascript">
if (AC_FL_RunContent == 0)
etc etc
)
after the 0, it fails to detect that close parenthesis.
I'm running Typo3 version 4.3.0 on wamp server.
The only extra extension I have installed is tempvoila
Here's the whole block I just need to have literally on all my pages.
page.10 = HTML
page.10.value (
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '100%',
'height', '100%',
'src', 'index',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'index',
'bgcolor', '#666666',
'name', 'preview',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'preview',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="preview.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#666666" /> <embed src="preview.swf" quality="high" bgcolor="#666666" width="100%" height="100%" name="preview" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
)
I do realize I am beginner at typo3 but a parser no being able to parse correctly appears to be a major issue to me.
If by chance this is just an error on my part due to my inexperience, I apologize for wasting your time. However I thought I'd report it.
(issue imported from #M13364)
(issue imported from #M13364)