We are migrating an app to Rails 3 and some classes of views need to be 
rendered without self-closing tags.

We have thins in mime_types.rb:

  Mime::Type.register "text/xml", :otml

We like to have haml use the :xhtml format when rendering a view like this and 
the default for the application with other views?

file: _show_otml.haml

%OTQuestion{:local_id => ot_local_id_for(open_response)}
  %prompt
    %OTCompoundDoc
      %bodyText= open_response.prompt

Is this possible?

--
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to