![CDATA[ ]] would help.
Cheers!
Szymek
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal
On 07-08-2009 at 15:28:07 Richard Cernava cern...@gmail.com wrote:
An example would be:
span tal:content=string:I'm PHP/
div tal:interpret=false
span tal:content=string:I'm javascript/
/div
phptal's out put would be:
spanI'm PHP/span
div
span tal:content=string:I'm javascript/
/div
As a work around perhaps you can place the Javascript template code in
separate files and use them like this:
script
?php include('my_javascript_tal_template.jstal'); ?
/script
regards,
/imv
On Fri, Aug 7, 2009 at 4:28 PM, Richard Cernava cern...@gmail.com wrote:
Kornel Lesiński kor...@...
As a work around perhaps you can place the Javascript template code in
separate files and use them like this:script ?php
include('my_javascript_tal_template.jstal'); ?/script
I hate to destroy the elegance of TAL :) I haven't looked into the metal macro
library much, I may be able to work
Kornel Lesiński kor...@... writes:
Indeed, you'll have to pick another namespace (this works since 1.2.0):
span tal:content=string:I'm PHP/
div xmlns:tal=http://example.com/ns/javascript-tal;
span tal:content=string:I'm javascript/
/div
Currently there's no option to generate