Le lundi 13 octobre 2008 à 22:22 +0200, Iván -DrSlump- Montes a écrit :
> prefix the content with the 'structure' keyword, it will use the value
> verbatin.
> 
> <script tal:content="structure myJsCode"></script>

This working fine, thanks you for this very quick reply !

> 
> ciao,
> /imv
> 
> 
> On Mon, Oct 13, 2008 at 10:13 PM, Guillaume Lecanu <[EMAIL PROTECTED]>
> wrote:
> 
>         Hi,
>         
>         I want to write a dynamic JS content into the
>         <script></script>balise.
>         A simple : alert("Hello World")
>         
>         But the problem is PHPTAL replace all quotes (simple or double
>         quote) by HTML entities.
>         
>         How can I do ?
>         
>         Thanks
>         
>         
>         _______________________________________________
>         PHPTAL mailing list
>         PHPTAL@lists.motion-twin.com
>         http://lists.motion-twin.com/mailman/listinfo/phptal
>         
> 
> 
> 
> 
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to