Jean-Michel Caricand <jean-michel.caric...@laposte.net> writes:

>    dir = data.className.split('\.');

    dir = data.className.split('\\.');

It seems that Inline TT is a source filter that processes backslashes.
So it processes '\.' into '.' and passes that to split.
'\\.' will become '\.' and work as expected.

HTH,
        Johan

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to