title: compare two variables in jinja2 template
body: <p>Given I have two variables <code>{{ profile }}</code> with a value "test" and <code>{{ element.author }}</code> again with the value "test". In jinja2 when I try to compare them using an if, nothing shows up. I do the comparison as follows:</p>
  
  <pre><code>{% if profile == element.author %}
  {{ profile }} and {{ element.author }} are same
  {% else %}
  {{ profile }} and {{ element.author }} are **not** same
  {% endif %}
  </code></pre>
  
  <p>I get the output <code>test and test are not same</code> Whats wrong, how can I compare?</p>