When I provide the following markup in the HTML pane of the Cute Editor:
- <object>
- <param name="x" value="y"></param>
- </object>
and click Save, the resulting HTML is:
- <object>
- <param name="x" value="y" /></param>
- </object>
Note the mangled closing of the param tag, with the errant "/>" at the end of it.
This is a simiplifed example. A real world example of code that this occurs with is the embed markup that YouTube provides. Here's an example:
- <object width="640" height="385">
- <param name="movie" value=" name="allowFullScreen" value="true"></param>
- <param name="allowscriptaccess" value="always"></param>
- <embed src="http://www.youtube.com/v/EAtBki0PsC0&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed>
- </object>
And Cute Editor's result:
- <object width="640" height="385">
- <param name="movie" value=" name="allowFullScreen" value="true" /></param>
- <param name="allowscriptaccess" value="always" /></param>
- <embed src="http://www.youtube.com/v/EAtBki0PsC0&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>
Can anyone provide a fix for this? Any information would be appreicated. Thanks in advance.