Nathan Weizenbaum dijo [Fri, Dec 19, 2008 at 12:18:13PM -0800]:
> This is intentional. In order for html2haml to be able to accurately 
> detect where indentation should be added, it would need to be able to 
> parse Ruby code, which is out of its scope. Thus, we leave it up to the 
> human to manage the indentation, and leave the "- end"s in as a signal 
> that that's necessary.

Ok, I get the basic motivation, specially if the conditional code
includes HTML tags... Still, would you consider adding this
controllable by a command-line switch, just as -r works now?
(signalling to try to process RHTML in addition to regular HTML)

-- 
Gunnar Wolf - [email protected] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

--~--~---------~--~----~------------~-------~--~----~
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