Comment 1 for bug 411386

Revision history for this message
Kazé (kaze) wrote :

I’m afraid I need more information to work on this.

If I’ve understood correctly:
 * “Hot Potatoes” is a Java-based tool to create HTML tutorials / quizzes: http://web.uvic.ca/hrd/halfbaked/
 * you’ve created a dynamic web page with it (HTML+CSS) that works fine in your browser
 * after editing this page with KompoZer 0.8a4, it doesn’t work any more

If that’s correct, please send two attachments:
 * the HTML file that has been created with “Hot Potatoes”
 * the HTML file after it has been edited with KompoZer 0.8a4
…and tell me what web browser you’ve used.

I confess I haven’t tested KompoZer with JavaScript yet, but as far as I know KompoZer shouldn’t modify the JavaScript code.

Just guessing: if you’re editing XHTML pages, a common problem with KompoZer 0.8a4 pages is that it creates <script /> elements in the head node, which is perfectly XHTML-compliant but not understood by Firefox 3+ if the XHTML page is sent as text/html instead of application/xhtml+xml (or if it doesn’t have an *.xhtml extension for a local file).
This bug will be addressed during the beta-stage: I’ll just force KompoZer to use <script></script> instead of <script />, even in XHTML.