Fixed bug where 0 values were showing up blank

pull/118/head
Simon Willison 2017-11-17 10:14:01 -08:00
rodzic 0b702f3679
commit ed21fb9508
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -59,7 +59,7 @@
{% for row in rows %}
<tr>
{% for td in row %}
<td>{{ td or "&nbsp;"|safe }}</td>
<td>{% if td == None %}{{ "&nbsp;"|safe }}{% else %}{{ td }}{% endif %}</td>
{% endfor %}
</tr>
{% endfor %}