What you want is filters. Check out the Haml reference:
http://haml.hamptoncatlin.com/docs/rdoc/classes/Haml.html

On Fri, Mar 20, 2009 at 7:30 PM, fm2haml <[email protected]> wrote:
>
> Hi
> I've trying to use haml to embed large chunks of (preexisting) html
> code - as a migration stategy of an existing site. I can't seem to
> find anything which lets me put in multiline raw html in a haml
> template without
> having to to fix indentation all over the file. The old files were
> generated using HTML editors and are not pretty looking. What's the
> fastest way to do this:
>
> %p
>   multiline raw html
>
> thx
>
> >
>

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