Even when using soft tabs, improper indentation will sneak its way in every now and then. This usually happens when I'm pasting code back and forth. Showing invisibles helps a lot to stay on top of this.
On Feb 8, 2007, at 3:31 AM, alistairholt wrote: > > Hello all, > > I've just been playing with this bit of HAML code which was producing > errors so I decided to come along here and post it to see if anyone > else could see anything wrong with it. > > Turns out that when I was pasting the code from TextMate into this > <textarea> the indentation was different! I had to go back to TextMate > and remove all the indentation on the block and then re-indent it all > again. This time when I pasted it back in here it was fine and the > code worked without any errors in my Rails App. > > Hope no one else falls into this! > > Note: I was using TextMates 'soft tabs' set to 2 spaces for > indentation. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
