[Seaside] Problem with WAScriptTag content escaping, when nested into a WAScriptTag

Philippe Marschall philippe.marschall at gmail.com
Wed Oct 15 14:24:10 UTC 2008


2008/10/15 Balázs Kósi <rebmekop at gmail.com>:
> Hi!
>
> If you try this example:
>
> renderContentOn: html
>
>   html div
>      id: 'x';
>      with: 'foo'.
>   html script: (
>      html element
>         id: 'x';
>         update: [ :r | html script: 'alert(1)' ]
>

You use the wrong renderer you use html but should use r.

Cheers
Philippe


More information about the seaside mailing list