crodas / Haanga

Template compiler for PHP, Django-style (as much as possible). Pretty efficent by avoiding to have anything at run-time.
http://haanga.org/
Other
136 stars 28 forks source link

Can't use variables starting with 'end' #14

Closed alangrafu closed 12 years ago

alangrafu commented 12 years ago

I have

$base = array();
$base['endpoint'] = 'foo';

When trying to access it using {{base.endpoint}} I got an Unexpected End of Input(0)

crodas commented 12 years ago

Thanks for your report. I think I fixed it in my last commit (4707ef2), please reopen this issue if you still have problems.

alangrafu commented 12 years ago

Worked perfect, sorry and thanks for the quick response! :-)