[Catalyst] Changing START_TAG and END_TAG of TT template

龔士捷 Gung Shi Jie ksc91u at gmail.com
Fri Dec 4 03:17:02 GMT 2009


Thank you,
I found in the document that I can also write

<!--[% TAGS php %]--!>

at the first line of my template.

It works.

On Fri, Dec 4, 2009 at 4:48 AM, Ian Sillitoe <ian at sillit.com> wrote:
> Sorry, ignore that bit.
>
> Use TAG_STYLE => 'php' or quote those tag strings as suggested in docs:
>
>   START_TAG => quotemeta( '<?' )
>
> http://search.cpan.org/~abw/Template-Toolkit-2.22/lib/Template/Manual/Config.pod
>



More information about the Catalyst mailing list