[Seaside] Issue with JSScript code generated in a render
renggli at gmail.com
Thu Mar 4 21:49:17 UTC 2010
Hmm, that's a very good catch. I wasn't aware of this problem.
let me know if it solves the issue before I optimize and rewrite all
On 4 March 2010 20:50, John Toohey <jt at parspro.com> wrote:
> I ran into an issue pushing data and a script via Comet to a brower.
> My render generated correct HTML, plus this code :-
> This looks okay, but both FF and Chrome generate an error while
> parsing it. FF mentions "unterminated string" and Chrome complains of
> an Invalid TOKEN. I reduce the code to :-
> but this still gives an error.
> However, adding escaping the final forward / in the script tag fixes
> this. I found a lot of reports of this issue on the net, and the
> consensus seems to be to always escape a forward / whilst emitting JS
> to the browser. Having trouble finding the method that generates the
> tags, do anyone know where that is?
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside