kolber/stacey — Issue #41: Incorrect treatment of @variables within asset collection
Author: thor
Created: 2012-02-22 19:00:22+00:00
State: open

Let's say I have...

##### this:

```html
foreach $images do

if @variable do @variable endif
if @title do @variable endif
@variable

if @description do

@description

endif

endforeach
```
... where @variable is "success!" and @title is "expected success!".
##### ... and then I get this:

```html
foreach $images do

success!
success!

if @description do

@description

endif

endforeach
```

The expected behavior would in my opinion be that the `@variable` can be checked and returned to `true`, not `false` - even though it does have content.

*The snippet above is its own partial, referenced from within a get.*