CodeKit-1-Old icon indicating copy to clipboard operation
CodeKit-1-Old copied to clipboard

Feature request: Compile Haml with Ruby1.9 hash syntax

Open mayuco opened this issue 12 years ago • 5 comments

This code is compiled successfully.

 %img{ :src => 'photo.jpg' }

But next code is not compiled for syntax error.

 %img{ src: 'photo.jpg' }

I want to write Haml with Ruby1.9 hash syntax!

mayuco avatar Sep 19 '12 07:09 mayuco

Ruby 1.9 hash syntax support would awesome! Definitely in favor of this feature request.

stickel avatar Nov 19 '12 16:11 stickel

+1

kderbalah avatar Nov 25 '12 20:11 kderbalah

+1 por favor!

andrewcollins avatar Jan 09 '13 01:01 andrewcollins

:+1:

kuldar avatar Jan 15 '13 15:01 kuldar

I can get it with rbenv and Ruby 2.0 by reference to this blog. http://dankim.org/blog/2013/02/23/haml-ruby-1.9-style-hashes-codekit.html

mayuco avatar Aug 06 '13 07:08 mayuco