#22023HTML cObject parser in t3editor fails to properly find matching parentheses
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"><br /> if (AC_FL_RunContent == 0)<br />etc etc<br />)</p>
<p>after the 0, it fails to detect that close parenthesis.</p>
<p>I’m running Typo3 version 4.3.0 on wamp server.<br />The only extra extension I have installed is tempvoila</p>
<p>Here’s the whole block I just need to have literally on all my pages.<br />page.10 = HTML<br />page.10.value (<br /><!--url's used in the movie--><br /><!--text used in the movie--><br /><!-- saved from url=(0013)about:internet --><br /><script language="javascript"><br /> if (AC_FL_RunContent == 0) {<br /> alert(“This page requires AC_RunActiveContent.js.”);<br /> } else {<br /> AC_FL_RunContent(<br /> ‘codebase’, ‘<a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0’" target="_blank" rel="noreferrer">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0’</a>,<br /> ‘width’, ’100%’,<br /> ‘height’, ’100%’,<br /> ‘src’, ‘index’,<br /> ‘quality’, ‘high’,<br /> ‘pluginspage’, ‘<a href="http://www.macromedia.com/go/getflashplayer’" target="_blank" rel="noreferrer">http://www.macromedia.com/go/getflashplayer’</a>,<br /> ‘align’, ‘middle’,<br /> ‘play’, ‘true’,<br /> ‘loop’, ‘true’,<br /> ‘scale’, ‘showall’,<br /> ‘wmode’, ‘window’,<br /> ‘devicefont’, ‘false’,<br /> ‘id’, ‘index’,<br /> ‘bgcolor’, ‘#666666’,<br /> ‘name’, ‘preview’,<br /> ‘menu’, ‘true’,<br /> ‘allowFullScreen’, ‘false’,<br /> ‘allowScriptAccess’,‘sameDomain’,<br /> ‘movie’, ‘preview’,<br /> ‘salign’, ‘‘<br /> ); //end AC code<br /> }<br /></script>
)
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.