prefix the content with the 'structure' keyword, it will use the value
verbatin.

<script tal:content="structure myJsCode"></script>

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

Reply via email to