Improve HAML support #1

Open
alsonkemp opened this Issue Jun 14, 2009 · 1 comment

Projects

None yet

2 participants

@alsonkemp
Owner

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

@softmechanics

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment