title: scoped Iteration variable in slim template ceases to exist when indenting
body: <p>I have the following .slim template:</p>
  <pre><code>.row
    .col-md-12.col-lg3
      .col-md-6.col-lg3
        .panel.panel-default.list-panel
          .panel-heading
            h3.panel-title Some Title
          .panel.body
            ul
              - @host_domains.each do |host, domains|
                li
                  h4 for host: #{host} #{domains}
                  ul
                    - domains.each do |domain|
                      li
                        = domain
  </code></pre>
  <p>The value of <code>@host_domains</code> is set to a testing value of:</p>
  <pre class="lang-rb prettyprint-override"><code>    @host_domains = {
          'some_host' =&gt; %w[www.google.com facebook.com screwyou.com],
          'some_other_host' =&gt; %w[www.google.com facebook.com screwyou.com]
      }
  </code></pre>
  <p>The issue is that when it starts iterating over <code>domains</code> I get the error <code>undefined local variable or method 'domains'</code>. I know it exists because it does not error on the line before (<code>h4 for host: #{host} #{domains}</code>) where I added domains to see if it would error (it does not).</p>
  <p><strong>Why does the scoped iteration variable <code>domains</code> cease to exist when I try to iterate over it?</strong></p>
  <p>It's probably something small that I'm just not seeing.</p>
  <p>EDIT: removing the <code>ul</code> tag and aligning it fixes the no variable issue.
  The issue is definitely indention related, changing the <code>ul</code> tag to say div still results in the same error.</p>
  <p>EDIT:
  I'm reasonably certain the problem is slim, it's ignoring indentation.</p>
  <p>If I I change the template to look more like this:</p>
  <pre><code>            - @host_domains.each do |host, domains|
                li
                  h4 For host: #{host}
                  - domains.each do |domain|
                    li #{domain}
  </code></pre>
  <p>and then look at the generated html, I can see that instead of bunch of li tags inside of a li tag, it's putting the domain li tags next to the li tag it's supposed to be inside of.</p>
  <p>The issue then is that slim just isn't respecting indentation and just moving things around as it pleases which is not what it should be doing.</p>