On Oct 16, 5:39 pm, "Mislav Marohnić" <[EMAIL PROTECTED]>
wrote:
> 2008/10/16 Noah Sussman <[EMAIL PROTECTED]>
>
>
>
> > but there is a dash missing I think.
>
> Fixed and pushed to my stable branch.
Thanks, that rocks.
>
> > "Silent" end blocks also don't get stripped, they wind up in the HAML as
> > - end
>
> I'd rather not tackle this yet. Removing "end" in your converted erb would
> make hand-modifications (like proper indenting) much harder
Ah ok, thanks for clarifying the purpose of keeping the end blocks.
Yes, since the indenting in the output is not always correct, having a
the "- end" marker in the coded is often convenient.
I converted a ton of RHTML today with the help of html2haml. In most
cases I was able to use the output without any editing at all, and
where I did need to edit it was basically fixing indentation within
Ruby blocks, and then deleting the "- end" markers. Thanks again,
your bug fix has been hugely helpful.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---