From: Nex3 <nex...@gmail.com>
Date: Tue, 26 Dec 2006 09:04:18 -0800
Local: Tues, Dec 26 2006 12:04 pm
Subject: Re: [haml] Obscure bug (I think)
I believe the issue here is that you have more whitespace in the empty
line after "= @user" than there is before "= @user". This is making Haml think that you want to start a Ruby block, which screws everything up. A quick fix for this would be to get rid of any spaces in the empty line. This is a bug, though; empty lines should be completely ignored. I've Thanks for pointing this out, cameron wrote:
> Hey Hampton, and everybody else, > Thanks for version 1.0...a good number to reach! Unfortunately I've hit > I upgraded our app from HAML 0.4 to 1.0 and I was getting a failing > eg. This fails: > <pre> > But if I remove the 2 (or more) spaces I mention, it works. @user is a > The failure message is: > <pre> > 1: = @user > Just passing it on.....if you like I could look into your test suite > Cheers, and happy holidays! > Cameron You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||