title: if else error
body: <p>This is my code. I have a problem with <strong>spaces</strong>. I can not get the proper generation</p>
  
  <pre><code>- if @lastday.nil? &amp;&amp; @lastday != item.created_at.strftime("%d %b %Y")
    .daily-entry
      %h1.date
        =h item.created_at.strftime("%d")
        %span
          =h item.created_at.strftime("%b, %Y")
  -else
    .entry
        %h1
          = link_to item.title, "/items/#{item.id}"
  </code></pre>
  
  <p><strong>Generates this is</strong></p>
  
  <pre><code>&lt;div class='daily-entry'&gt; 
   &lt;h1 class='date'&gt; 
     20
     &lt;span&gt; 
      Sep, 2009
      &lt;/span&gt; 
   &lt;/h1&gt; 
  &lt;/div&gt; 
  &lt;div class='entry'&gt; 
   &lt;h1&gt; 
    &lt;a href="/items/15"&gt;xcvxcvx&lt;/a&gt; 
   &lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>But I want a HTML</strong></p>
  
  <pre><code>&lt;div class='daily-entry'&gt; 
   &lt;h1 class='date'&gt; 
     20
     &lt;span&gt; 
      Sep, 2009
      &lt;/span&gt; 
   &lt;/h1&gt; 
   &lt;div class='entry'&gt; 
     &lt;h1&gt; 
       &lt;a href="/items/15"&gt;xcvxcvx&lt;/a&gt; 
     &lt;/h1&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><em>.daily-entry</em></p>
  
  <p><strong>should be included in the condition</strong> </p>
  
  <p>if condition <strong>true</strong> </p>
  
  <pre><code>&lt;div class='daily-entry'&gt; 
   &lt;h1 class='date'&gt; 
     20
     &lt;span&gt; 
      Sep, 2009
      &lt;/span&gt; 
   &lt;/h1&gt;
   &lt;div class='entry'&gt; 
    &lt;h1&gt; 
     &lt;a href="/items/15"&gt;xcvxcvx&lt;/a&gt; 
    &lt;/h1&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>if condition <strong>false</strong></p>
  
  <pre><code>&lt;div class='entry'&gt; 
   &lt;h1&gt; 
    &lt;a href="/items/15"&gt;xcvxcvx&lt;/a&gt; 
   &lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>