title: Removing the spaces in Jinja2 tables
body: <p>I have a table and I am creating two values in one td and I want that two values should get fit into the one column header.
  I am showing what did I try here</p>
  
  <pre><code>&lt;table class="table table-striped"&gt;
              &lt;thead&gt;
                  &lt;tr&gt;
                      &lt;th scope="col"&gt;Name&lt;/th&gt;
                      &lt;th scope="col"&gt;Email&lt;/th&gt;
                      &lt;th scope="col"&gt;Study time&lt;/th&gt;
  
                  &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody&gt;
                  {% for each_detail in result %}
  
                  &lt;tr&gt;
                      &lt;td&gt;{{ each_detail.student_name }}&lt;/td&gt;
                      &lt;td&gt;{{ each_detail.student_email }}&lt;/td&gt;
                      {% for each_time in each_detail.time %}
                      &lt;td style="padding-left: 0px;"&gt;{{ each_time['starttime'] }}-{{ each_time['endtime'] }}&lt;/td&gt;
                      {% endfor %}
  
  
                  &lt;/tr&gt;
                  {% endfor %}
              &lt;/tbody&gt;
  
          &lt;/table&gt;
  </code></pre>
  
  <p>What is happening here is I have multiple values for study time column.All values should come under one column ie without much space. But the second study time slot is moving into another column.
  I am attaching the image for reference.
  <a href="https://i.stack.imgur.com/4x5ja.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4x5ja.jpg" alt="As per the image i have space between 14-19 and 21-23 but i dont need that"></a></p>