Wrong characters translation after export

Author Message
Kha 03/10/2004 04:29 pm
Hi.

When Offline Explorer exports a downloaded web site it translates some characters of the java script into HTML coded characters.

Example
In the original downloaded web page there is this java sentence:
str+=`\t<div id="divSlide`+a+`" class="clSlide"><a href="`+lnk+`" `+tg+` onclick="swmenu(`+a+`,-1,-1); if(bw.ie || bw.ns6) this.blur(); `
if(lnk=="#") str+=`return false`
str+=`" class="clSlideLinks"> `+text+`</a><br></div>\n`

After exporting the project the same line is:
str+=`\t<div id="divSlide`+a+`" class="clSlide"><a href="`+lnk+`" `+tg+` onclick="swmenu(`+a+`,-1,-1%29;%20if%28bw.ie || bw.ns6) this.blur(); `
if(lnk=="#") str+=`return false`
str+=`" class="clSlideLinks"> `+text+`</a><br></div>\n`

Here You can see how some characters -spaces and ()- are translated according the HTML definition. This behaviour reders bad scripts and the exported page does not work any more. I don`t know why this happens only on some characters and not in all of them.

Please take a look into this, if You want, I can send You both files.

Many thanks and kind regards.
Oleg Chernavin 03/11/2004 03:16 am
Can you tell me the page address with this script? I will add a workaround for this problem.

Thank you!

Best regards,
Oleg Chernavin
MP Staff
Kha 03/11/2004 03:34 pm
Ok. Lets go.

Here is the address for the page:

http://www.kutretoys.com/fondos/menu.html

This page is loaded from a frameset being the left menu of a web site divided into frames. This menu in the left frame is changed for an different menu.html when navigating but all menu.html is like this.

*** Beware, ADULT CONTENT in some sections ***

Thank You.

> Can you tell me the page address with this script? I will add a workaround for this problem.
>
> Thank you!
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg Chernavin 03/12/2004 07:02 am
Thank you! Just fixed the problem. Do you need the updated version right now?

Oleg.
Kha 03/12/2004 09:01 am
Thank You Oleg, no, I can wait for the update.

Kind regards.

> Thank you! Just fixed the problem. Do you need the updated version right now?
>
> Oleg.
Oleg Chernavin 03/12/2004 09:06 am
OK. We should have the 3.1 or 3.0 SR2 release around March 25th.

Oleg.