Currently mustache templates need new lines for blocks. I fixed this for {{each and I know how to fix it for {{if. Now I know why splitlines leaves on the trailing \n... oh sweet jesus