Old code that used to work in WYSIWYG doesn't in 6.7
The example code below used to have < and >, but when you scan further down, you'll see <
and >
So when it comes to previously working pages and someone publishes the page with this code, without editing this specific page, the incorrect code goes through and spits out "#END-CODE-->" instead of a Flash slideshow. I had similar trouble with the comments <!--#START-CODE
, #END-CODE-->
with some Google Analytics tracking code. Right now, I'm having to pull the comments out, but the users don't know what it is and it appears in the Spell Check as errors.
<!--#START-CODE
<script type="text/javascript" language="JavaScript"> AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',`
'width', '731',
'height', '275',
'src', 'slideshow',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'slideshow',
'bgcolor', '#ffffff',
'name', 'slideshow',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'slideshow',
'salign', ''
); //end AC code</script>
<noscript><! <span class="mceItemObject" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="731" height="275" id="slideshow" align="middle"><span name="allowScriptAccess" value="sameDomain" class="mceItemParam"></span> <span name="allowFullScreen" value="false" class="mceItemParam"></span><span name="movie" value="slideshow.swf" class="mceItemParam"></span><span name="quality" value="high" class="mceItemParam"></span><span name="bgcolor" value="#ffffff" class="mceItemParam"></span><span class="mceItemEmbed" src="slideshow.swf" quality="high" bgcolor="#ffffff" width="731" height="275" name="slideshow" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" ></span></span>-->
#END-CODE--><span></span>
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Bradley Wagner on 22 Jul, 2010 10:28 PM
Could you try attaching that code as a file or indenting every line with 4 spaces to get it to show up correctly. Thanks!
2 Posted by schroeder on 23 Jul, 2010 01:13 PM
Try this.
Support Staff 3 Posted by Tim on 05 Aug, 2010 02:12 PM
Hi,
I was able to reproduce this using a simple example as well. I've created an issue to address this. You can track the problem here.
Thanks!
Tim closed this discussion on 05 Aug, 2010 02:12 PM.
Tim re-opened this discussion on 05 Aug, 2010 02:13 PM
Support Staff 4 Posted by Tim on 05 Aug, 2010 02:13 PM
In the meantime, I would recommend pasting code like this into XML Blocks whenever possible as that code won't be touched by any formatting routines.
Tim closed this discussion on 05 Aug, 2010 02:13 PM.
schroeder re-opened this discussion on 05 Aug, 2010 02:28 PM
5 Posted by schroeder on 05 Aug, 2010 02:28 PM
True, however, the areas this is occurring in are DD's. I am working on new blocks and formats, so users don't have to worry about that code in their WYSIWYGs..., but that is further down the road for implementation - and won't solve every code problem. I'll await news of a solution! Thanks!
schroeder closed this discussion on 05 Aug, 2010 02:28 PM.