HAML is fine - it's ERB/RHTML that was misbehaving. At least with HAML
you've got some control

On Fri, Jan 16, 2009 at 5:10 PM, Adam Holt <[email protected]> wrote:

>
> I've only just started using HAML so take it with a pinch of salt, but
> in the latest peepcode screencast on HAML, there is a section about
> text area indentation
>
> Basically, instead of using the = tag, use a ~ and it will format
> correctly (apparently)
>
> On 16 Jan 2009, at 17:03, Francis Fish wrote:
>
> > Hi guys,
> >
> > It was indenting the contents of the tag, so when you save it and
> > then edit it again it would indent the following lines after the
> > first.. When you viewed it inside a pre tag it would indent
> > everything too.
> >
> > We also use HAML, so I converted the templates and it started to
> > behave.
> >
> > PIA.
> >
> > --
> > Thanks and regards,
> >
> > Francis Fish
> >
> > >
>
>
> >
>


-- 
Thanks and regards,

Francis Fish

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" 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/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to