Since I already know that the standard response to this question is
"why would you want to do that use erb", I will start out with the
why:

I have a complex haml template that already generates a marked up
version of my output. It's actually a series of partials that call one
another.

I need a text version of the same output. The code is already in
place, and already works. RIpping the markup out of the haml is easy.
Rewriting the whole thing in ERB would be a pain.

It seems sad that I would have to port a big chunk of code to ERB just
because haml does not want to let me force an extra newline and some
leading spaces in a couple of places.

Not to metion, haml's self-closing blocks are nice. and, oh, by the
way, they are a big part of the reason that porting to ERB would be a
pain.

So, with that said, is there a way to get haml to put out an extra
newline and some extra leading spaces in certain places?

Thanks,
Avram

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