now we can parse correctly <% end template %> even with ident in betwee