There are some tasks for which erb is better suited. Why would you use haml
to generate plain text?
chris

On Tue, Jul 7, 2009 at 11:22 AM, Michael Moen <[email protected]>wrote:

>
> Is there a trick I'm missing to get a Haml mailer template to preserve
> the newlines in the text/plain portion of a Rails mailer?
>
> :preserve doesn't do it as it escapes all the spaces.
>
> Thanks,
> Michael
>
>
> >
>

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