public
Description: A nicotine patch for Rails users who want to stop pretending they're writing XHTML
Homepage:
Clone URL: git://github.com/mislav/standardista.git
name age message
file LICENSE Fri Nov 06 11:15:14 -0800 2009 MIT licensed [mislav]
file MIT-LICENSE Sat May 24 08:00:07 -0700 2008 standards zealots rejoice! [mislav]
file README.markdown Sat May 24 08:06:56 -0700 2008 tweak readme [mislav]
file Rakefile Sat May 24 08:00:07 -0700 2008 standards zealots rejoice! [mislav]
file init.rb Wed Nov 18 08:13:06 -0800 2009 don't include 'standardista/implicit_tags' at l... [mislav]
file install.rb Wed Jul 09 06:24:42 -0700 2008 install hook: check for Haml >= 2.0, not "~> 2.0" [mislav]
directory lib/ Thu May 21 08:35:20 -0700 2009 extract overrides for Rails tag() helper inclu... [mislav]
directory tasks/ Sat May 24 08:00:07 -0700 2008 standards zealots rejoice! [mislav]
README.markdown

Standardista

Prove that you care for web standards. Use simple HTML 4 for output instead of pretending you know what XHTML really is.

Requirements

Standardista is a set of options for Haml 2.0.

Include the Haml gem in your environment.rb:

config.gem 'haml', :version => '~> 2.0'

Features

  • sets Haml output to HTML 4
  • in production: sets Sass output to 'compact'
  • in production: turns on Haml 'ugly' mode (faster rendering because it doesn't care for indenting)
  • patches ActionView tag helper to stop generating self-closing tags

More to come.