https://github.com/mislav/standardista
A nicotine patch for Rails users who want to stop pretending they're writing XHTML
https://github.com/mislav/standardista
Last synced: 8 months ago
JSON representation
A nicotine patch for Rails users who want to stop pretending they're writing XHTML
- Host: GitHub
- URL: https://github.com/mislav/standardista
- Owner: mislav
- License: mit
- Archived: true
- Created: 2008-05-24T15:03:55.000Z (about 18 years ago)
- Default Branch: master
- Last Pushed: 2011-02-14T22:07:17.000Z (over 15 years ago)
- Last Synced: 2025-01-19T16:42:48.070Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 131 KB
- Stars: 23
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
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](http://nex-3.com/posts/76-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.