title: Slim templates - removing whitespaces around the block tag
body: <p>I'm trying Slim templates in a new project (after using Haml for quite a while). While overall experience is great, I've run into a problem with spaces being always inserted around tags which normally use <code>display: block</code></p>
  
  <p>Say,</p>
  
  <pre><code>ul.ampm
    li.am am
    li.pm pm
  </code></pre>
  
  <p>generates </p>
  
  <pre><code>&lt;ul class="ampm"&gt;
    &lt;li class="am"&gt;
      am
    &lt;/li&gt;
    &lt;li class="pm"&gt;
      pm
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>while</p>
  
  <pre><code>.ampm
    span.am am
    span.pm pm
  </code></pre>
  
  <p>generates </p>
  
  <pre><code>&lt;div class="ampm"&gt;
    &lt;span class="am"&gt;am&lt;/span&gt;&lt;/span class="pm"&gt;pm&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Normally it's not a big issue, but we use responsive layouts which applies <code>display: inline-block</code> to <code>li</code> tags; obviously, having whitespace between them breaks the layout.</p>
  
  <p>I'm aware of </p>
  
  <pre><code>Slim::Engine.options[:pretty] = true
  </code></pre>
  
  <p>option (and turning it on does remove the offending whitespace), but it makes all generated source hard to read, not just the part I'd like to fix.</p>
  
  <p><code>&lt;</code> and <code>&gt;</code> in Slim seem to do the opposite to what I need - they're intended to be used for adding whitespace around inline tags.</p>
  
  <p>So...</p>
  
  <ul>
  <li>is it possible to remove whitespace around a single block tag in Slim similar to HAML whitespace eaters? (Without the impact of turning off the pretty option, that is)</li>
  <li>if not, is it a fundamental Slim restriction ("by design") or something which is on the roadmap and would be potentially implemented in the future? </li>
  </ul>
  
  <p>Much appreciated.</p>