title: JsRender if-else renders nothing
body: <p>I have a simple model:</p>
  
  <pre><code>var model =  [{
      content: "",
      type: "photo",
      src: "xxx"
  }, {
      content: "",
      type: "quote",
      text: "blah"
  }];
  </code></pre>
  
  <p>and a simple template:</p>
  
  <pre><code>{{if type eq='photo'}}
      &lt;img src="{{:src}}" /&gt;
      &lt;div class="photo-caption"&gt;
          {{:caption}}
      &lt;/div&gt;
  {{else type eq='quote'}}
      &lt;div class="quote-text"&gt;
          {{:text}}
      &lt;/div&gt;
  {{/if}}
  </code></pre>
  
  <p>The problem is that the template renders nothing at all when the <code>type</code> is "quote".  If I change it slightly to two <code>if</code>s instead of an <code>if-else</code>, it renders the quote, but also renders the <code>div class="photo-caption"&gt;</code>.  I need it to only render one or the other.  I have a feeling it's a simple matter of syntax, but can't seem to find sufficient docs on how this is done correctly on the JsRender site.</p>
  
  <p><a href="http://jsfiddle.net/4QzZX/" rel="nofollow">Here's a fiddle</a>.  The two templates <em>should</em> behave exactly alike.  Instead one renders both, the other renders only the image.</p>