How do I stop CMS from "fixing" code/tags?

Example:

The following is placed in a code block:

<script src="http://whateverurl.com/scripts/jscriptfile.js" type="text/javascript"><!--external file --></script>

But when pulled into the page and rendered becomes:

<script src="http://whateverurl.com/scripts/jscriptfile.js" type="text/javascript" />

Can I stop the CMS from doing this? The content type doesn’t use EditLive at all, so it’s not that. Just a plain text area.

Have you tried adding a space before the closing script tag?

 <script src="http://whateverurl.com/scripts/jscriptfile.js" type="text/javascript"><!--external file --> </script>

[QUOTE=jitendra;17103]Have you tried adding a space before the closing script tag?

 <script src="http://whateverurl.com/scripts/jscriptfile.js" type="text/javascript"><!--external file --> </script>

[/QUOTE]

Not yet, I’ll try that. But is there a way to get the CMS to stop doing this? Is there a flag or switch somewhere to have it leave code alone?

I had the same issue with html forms that use asp.net code. What I had to do is put that kind of information in a seperate text box. This way ephox validator doesn’t get called. Ephox will try to make it ephox xhtml compliant…even though what you have is. It’s a very buggy wysiwyg.

Yeah, I’ve wrestled with Ephox on many other things similar. Unfortunately this time around the field is just plain text and it’s still editing the code.