joseym/li3_hierarchy — pull request #14 by brandonwestcott (2013-01-10 22:05:26+00:00)
Title: Fix elements inside of directories

Using the Lexer::_template function was returning the modified name of the file. When inside elements/foobar/file.html.php, the modified file name did not inclue the word element. That cause the code after to fail causing the view not to load.

Tested with & without cache on lots of different views. Seems to work fine.