The new and improved html2haml required a significant rewrite of the HTML-parsing internals, so it's currently only available in the master branch.
On Sat, Mar 13, 2010 at 5:07 AM, Fred Wu <[email protected]> wrote: > Hi, > > I thought this issue was fixed a while ago, but I just tried both > 2.2.20 and 2.2.21, the issue still seem to be there. > > For instance, I have the following erb template: > > <h2>Sign in</h2> > > <% form_for resource_name, resource, :url => > session_path(resource_name) do |f| -%> > <p><%= f.label :email %></p> > <p><%= f.text_field :email %></p> > > <p><%= f.label :password %></p> > <p><%= f.password_field :password %></p> > > <% if devise_mapping.rememberable? -%> > <p><%= f.check_box :remember_me %> <%= f.label :remember_me %></p> > <% end -%> > > <p><%= f.submit "Sign in" %></p> > <% end -%> > > <%= render :partial => "devise/shared/links" %> > > > > html2haml renders the haml template as: > > > %h2 > Sign in > - form_for resource_name, resource, :url => > session_path(resource_name) do |f| > %p > = f.label :email > %p > = f.text_field :email > %p > = f.label :password > %p > = f.password_field :password > - if devise_mapping.rememberable? > %p > = f.check_box :remember_me > = f.label :remember_me > - end > %p > = f.submit "Sign in" > - end > = render :partial => "devise/shared/links" > > > Is it just me? > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- 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.
