From: Miguel <mi...@jm...> - 2004-12-30 15:32:34
|
> This is a general problem with the <param name=3D=22loadInline=22> > functionality. > Clearly one needs to be able to transmit both double-quote and quote > characters > to Jmol. Correct, it is also a problem for scripts. > Since =5C=22 and =5C' are NOT recognized by HTML, your solution to use > ´ is fine, It turns out that ´ is not the same as ' ... so I am using &=2339; > PROVIDED Jmol does the reverse as part of the loadInline > function. Actually, I don't even need to do it. The browser is doing it for me, so that by the time that I see the strings it is turned back into ' (Note: I thought that this approach might work for some of our newline problems as well. But even encoding newline chars as &=2310; they were stripped out of the attribute values). > Is that the plan? Yes. I have checked in the code to apply this *sterilization* of scripts and loadInline data as part of Jmol.js Miguel |