Le mardi 14 octobre 2008 à 09:55 +0100, Kornel Lesiński a écrit :

> On 13-10-2008 at 21:22:26 Iván -DrSlump- Montes <[EMAIL PROTECTED]>  
> wrote:
> 
> > prefix the content with the 'structure' keyword, it will use the value
> > verbatin.
> >
> > <script tal:content="structure myJsCode"></script>
> 
> This may make XHTML ill-formed if there's any "<" or "&" in the script.
> 
> <script>/*<![CDATA[*/
> ${structure myJSCode}
> /*]]>*/</script>
> 
> works in both text/html and application/xhtml+xml modes.

Great, thanks Kornel !


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to