Open yonaskolb opened 7 years ago
@groue I would very much appreciate you feedback on this :)
Well, the source code is here, ready to be modified. Make sure you don't change the runtime just for your convenience, because what's good for you may be a pain for another user. Instead, look at the mustache standard, and plan well your modifications. Ask @fumito-ito if he plans to merge them in the repository before you open a pull request. Happy coding!
@groue thanks for your answer.
So far I have solved this issue by using the technique explained in the following comment https://github.com/groue/GRMustache/issues/46#issuecomment-19498046
Hey, great library! Would it be possible to ignore line breaks in a template when a line only contains a single {{# tag? This would mean you could write:
instead of
where you would want each case of that enum to be on a seperate line with no empty lines in between.
It greatly cleans up mustache template files, especially if you have many nested loops