PHPTAL currently escapes HTML end tags within CDATA blocks, making it impractical to pass through embedded client-side templates:
<script type="text/x-template">/*<![CDATA[*/
<p>Hello World</p>
/*]]>*/</script>
After executing the PHPTAL template containing this markup, PHPTAL converts the </p> into <\/p>, which botches the markup, and the client-side template fails to render properly.
PHPTAL currently escapes HTML end tags within CDATA blocks, making it impractical to pass through embedded client-side templates:
After executing the PHPTAL template containing this markup, PHPTAL converts the
</p>into<\/p>, which botches the markup, and the client-side template fails to render properly.