13
Yup. You're right. It won't work. The code is saved, but Koivi blends it into one long line, which with a JavaScript will often break it.
JavaScripts do seem to execute. I tried
<script language="JavaScript">
document.write ("Hello World");
script>
and that worked. But that's not a lot of use to anyone really!
You can't appear to manually force line breaks using XOOPS code or by encapsulating the script in 'code' or 'pre' text tag either. I couldn't add a link to an external js file either.
Not good.
Although I confess I have never tried this with SPAW or HTMLArea either. Maybe scripts and WYSIWYG editors just don't mix?
A thread is for life. Not just for Christmas.