New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line break #16
Comments
I noticed this too. Placing it all on a single line fixed it for me. |
@hookenz Yeah, I tried that too and it worked, but this is not the default behavior of mustache. |
This appears to fix the problem: ...basically I translated the code from here into Lua: https://github.com/janl/mustache.js/blob/master/mustache.js (and there was an off-by-one error due to 1 indexing in Lua) |
Hey @brimworks! Thanks for the follow up! Very nice. I couldn't test it, but it certainly make sense. 👍 |
Hi there,
I'm a Lua newbie and I think I'm doing something wrong.
Check my code (from lustache's README):
Output:
My first guess was related to mustache, so I tried it in http://trymustache.com and the output was the following.
Output:
After, I tried doing the same using Ruby, because I know it better. Check it out:
Output:
Am I doing something wrong with lustache?
The text was updated successfully, but these errors were encountered: