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 =&gt; issue_articles_path(@issue)) do |@f|
= render_partial('form', :locals =&gt; {:method =&gt; nil})
%p
  = submit_tag &quot;Create&quot;
- end

Am I correct that &gt; and &quote should not be inserted?  (BTW, &amp;
becomes &amp;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
-~----------~----~----~----~------~----~------~--~---

Reply via email to