Fixed a bug where a not closed tag could lead to an infinite loop.
Merge branch 'master' of github.com:flosch/pongo2