html2haml -r foo.rhtml foo.haml turns
<% form_for(:article, :url => issue_articles_path(@issue)) do |@f| %>
<%= render_partial('form', :locals => {:method => nil}) %>
<p>
<%= submit_tag "Create" %>
</p>
<% end %>
into
- form_for(:article, :url => issue_articles_path(@issue)) do |@f|
= render_partial('form', :locals => {:method => nil})
%p
= submit_tag "Create"
- end
Am I correct that > and "e should not be inserted? (BTW, &
becomes &amp;)
Also, the original indentation is correct and it would be nice if it
could be kept. This would require html2haml to recognize the do end
construction. -end would then be redundant
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---