title: Print a Jinja2 list on a single line in a table element
body: <p>If I have a list [1,2,3,4,5,6]</p>
  
  <p>It prints out like 
  1,
  2,
  3,
  4,
  5,
  6</p>
  
  <p>How can I get it to print without a line break between each like
  1, 2, 3, 4, 5, 6?</p>
  
  <p>Code except outputs in the TD like </p>
  
  <pre><code>            &lt;tr&gt;
                  {% for field in LI %}
                      {% if field is not string and field is iterable %}
                          &lt;td&gt;
                              {% for item in field %}
                                  {{item}}{% if not loop.last %},{% endif %}
                              {% endfor %}
                          &lt;/td&gt;
                      {% else %}
                          &lt;td&gt;{{ field }}&lt;/td&gt;
                      {% endif %}
                  {% endfor %}
              &lt;/tr&gt;
  </code></pre>