[dancer-users] D1 => D2 The default start_tag and end_tag of Template::Toolkit

Gabor Szabo gabor at szabgab.com
Wed Dec 10 19:20:49 GMT 2014


On Wed, Dec 10, 2014 at 9:06 PM, David Precious <davidp at preshweb.co.uk>
wrote:

> On Wed, 10 Dec 2014 20:26:05 +0200
> Gabor Szabo <gabor at szabgab.com> wrote:
> > Do I see correctly that this has changed and now the defaults are [%
> > and %] ?
> >
> > If yes, is this on purpose or is this a bug?
>
> Purpose, as [% %] are the typical tags used by the majority of TT
> users, and many people were confused by the default of <% %> instead in
> D1.
>
> Perhaps there should be a comment in generated templates, or perhaps
> the default for the simple engine should also be [% %]?
>
>
Having a comment in the config.yml might be good, but an explanation in the
migration document is imho needed.
I've already sent a pull-request with that, this e-mail was just to clarify
that this change is indeed intentional.

regards
    Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20141210/05b23b35/attachment.html>


More information about the dancer-users mailing list