lua-haml
lua-haml copied to clipboard
Haml for Lua
This haml template demonstrates various ways attribute substitution fails inside for loops: ``` .attributes-work-outside-loops %a(href="#{links[1].url}" title="#{links[1].title}")= links[1].title %a(href="#{links[2].url}" title="#{links[2].title}")= links[2].title -# -# uncomment for crash -# .accessing-tables-in-attributes-throws-error-in-loops -# - for...
This is just bizarre. I have this Haml: ``` .foo %label %input Blah Text ``` It's rendered, incorrectly, with "Text" not being inside the .foo div. But, this (should be...
Any line that starts with a - or = and ends in a comma should tack onto the next line, but this isn't working.
Hello and thank you very much for your effort, i have two small additions... (: It would be nice to have a **view_path** option which prepends the filename. Lua(jit) 5.1...