Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A nicotine patch for Rails users who want to stop pretending they're writing XHTML

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
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.

Something went wrong with that request. Please try again.