title: Trouble with Jquery and Flask
body: <p>I'm trying to append an html element using jquery but flask returns an exception:</p>
  
  <blockquote>
    <p>jinja2.exceptions.TemplateSyntaxError: expected token ',', got
    'static'</p>
  </blockquote>
  
  <p>the string appears to be ok, and I have no idea what the problem is</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $('#img_' + element.event_id).append('&lt;img src="' + '{{ url_for(' + "'static', filename=" + element.face_cap + ') }}" width="120" alt="image"');
  
  
  &lt;/script&gt;
  </code></pre>