kraih/mojo — pull request #325 by Akron (2012-05-03 10:31:37+00:00)
Title: Bugfix end.* helpers

This patch should fix following bug:
Currently helpers are not allowed to start with the prefix "end" in templates, as this will be interpreted as the terminal symbol of a block sequence.
Using a helper with this prefix will result in syntax errors.
This problem refers to, e.g., https://github.com/Akron/Sojolicious/blob/master/lib/Mojolicious/Plugin/Util/Endpoint.pm .

The patch should be fully backwards compatible.
Tests are attached.