Jump To Content

LearnHub



1 Comment

  1. 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
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

    1. Carsten saidSat, 20 Jun 2009 05:06:37 -0000

      Gabe, the majority of people will be reading the rendered page, not the markup.

      Rating
      1
      Rate Up
      Author
      Carsten
      Carsten
      Authority 383