> This is a general problem with the <param name="loadInline">
> 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 \" and \' are NOT recognized by HTML, your solution to use
> &acute; is fine,

It turns out that &acute; is not the same as ' ... so I am using &#39;

> 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 &#10; 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



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to