nex3/haml — Issue #473: Default format under Rails 3 prevents the use of multiple doctypes in an app
Author: lukesutton
Created: 2011-12-20 01:10:20+00:00
State: open

Currently HAML under Rails 3 the `:format` option defaults to `:html5`. This can be overridden with an initialiser if necessary.

Unfortunately, using the `:format` option means you cannot use HAML to render different documents with different doctypes. For example I cannot have a XHTML front-end and a HTML5 back-end. It is one format or the other.