From the discussion Haml is the best template engine on Rails
Sun, 09 Mar 2008 07:36:37 -0000
Haml rawks! My only gripe with it is that it encapsulates element attributes with single quotes by default instead of double quotes. Single quotes may look nicer when quoting ruby strings and what-not, but in markup, doubles are definitely superior. Just view source this page and you’ll see what I mean; it’s a mish-mash of single– and double-quoted attributes, and it doesn’t look at all pretty.
Can we expect to see this issue addressed in the next release, Hampton? :)
- Actions
-
- 1 Reply
Post Comments
Carsten said – Sat, 20 Jun 2009 05:06:37 -0000
Gabe, the majority of people will be reading the rendered page, not the markup.