title: jQuery Template, {{if}} with a passed string
body: <p>I'm using a jQuery template like so:</p>
  
  <pre><code>&lt;script type="text/html" id="ListTemplate"&gt;
  {{if (parseInt($.attachment_count) &gt; 0) }}
      XXXX
  {{else}}
      ${attachment_count}
  {{/if}}
  
  &lt;/script&gt;
  </code></pre>
  
  <p>But this does not work? The if block never returns true. Any suggestions? thanks</p>