So much for Umbraco leaving your content just as you enter it.
I have a simple html page that has a bit of javascript in it.
The problem is that when I paste the page content into a page that accepts what I call bodyText, it strips out the javascript. Note that when I paste in my HTML and javascript, I hit the HTML button. I don't paste into the 'richtext' window.
So, if I go to paste in my page content and it looks like this (truncated to keep the example small)
Code:
<td colspan="2">Read this message: >
<script language="JavaScript"><!-
document.write('Here is my message');
// -->
</script>
</a></td>
When I run the page what I get in the source code is this..
Code:
<td colspan="2">Read this message: >
</a></td>
Futhermore, if I return to the content for that page, and view the HTML, the javascript is gone.
What am I missing here? Why can't Umbraco just accept my markup as I enter it (something it claims to do but clearly doesn't).