turbinado icon indicating copy to clipboard operation
turbinado copied to clipboard

Improve HAML support

Open alsonkemp opened this issue 15 years ago • 1 comments

The current HAML support is minimal. Enhance to meet the specs on http://haml.hamptoncatlin.com/.

alsonkemp avatar Jun 14 '09 05:06 alsonkemp

Three issues I've found:

  • can't use literals for element attribute values
  • can't create empty elements, i.e.
  • can't include VHtml (i.e. output from functions, including HAML functions) in HAML blocks

For something like this: %div %br %input{type="text",value=value}

We currently have to write: %div %br=[] %input{type=text,value=value}=[] where text="text"

softmechanics avatar Feb 27 '10 00:02 softmechanics