[Bug 411386] Re: Javascript corruption with 0.8a4?

Orionds shamrock_d at yahoo.com
Tue Aug 11 12:38:41 UTC 2009


You're absolutely right. I renamed the html file edited by 0.8a4 to
xhtml and the problem was solved.

I'm sending the files to you anyway so that you can have a look and try
them out.

In the meantime, I will just rename them to xhtml.

Very much appreciated - thank you.



________________________________
From: Kazé <kaze at kompozer.net>
To: shamrock_d at yahoo.com
Sent: Tuesday, August 11, 2009 9:28:24 AM
Subject: [Bug 411386] Re: Javascript corruption with 0.8a4?

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.

-- 
Javascript corruption with 0.8a4?
https://bugs.launchpad.net/bugs/411386
You received this bug notification because you are a direct subscriber
of the bug.

Status in “kompozer” package in Ubuntu: New

Bug description:
Binary package hint: kompozer

I generate html pages with Hot Potatoes that are cloze exercises using
javascript. I edit these pages with Kompozer adding links, graphics or
embedded videos. There was no problem with 0.710 but since switching to
Ubuntu, 0.710 crashes.

After using 0.8a4 to edit and saving the html page, when I click on the
"check" or "hint" button, I get a popup that has a "back" button rather
than the usual "ok" button. Also, the popup refuses to close or go away.
0.8a4 has the same bug running in Windows.

I can use 0.710 with Wine or Sea Monkey without problems. However, if
there is a fix for 0.8a4, it would be nice.

I am using Ubuntu 9.04

Thanks in advance for any help.



** Attachment added: "hello_world.htm"
   http://launchpadlibrarian.net/30157885/hello_world.htm

** Attachment added: "hello_world_0.8a4.html"
   http://launchpadlibrarian.net/30157886/hello_world_0.8a4.html

** Attachment added: "hello_world_0.710.html"
   http://launchpadlibrarian.net/30157887/hello_world_0.710.html

** Attachment added: "hello_world.jcl"
   http://launchpadlibrarian.net/30157888/hello_world.jcl

-- 
Javascript corruption with 0.8a4?
https://bugs.launchpad.net/bugs/411386
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list