stonean/slim — Issue #225: Using next within a nested loop causes improper nesting
Author: scottkf
Created: 2012-01-19 14:56:43+00:00
State: open

Example:

```ruby
h6 Type
div.type
- {1 => 'a', 2 => 'b'}.each do |k,v|
div
- if (k == 1)
- next
div.next
```

Produces this html:

```html

Type

```

Removing the next and just using a `|`, for example, will correct it. Tested with *1.0.4*