Fixed   bug

  was showing for all None values in table cells, thanks to the
autoescaping change introduced in 82261a638b
This commit is contained in:
Simon Willison 2017-11-16 07:29:52 -08:00
commit 01e0c3fa18

View file

@ -44,7 +44,7 @@
{% if not is_view %}<td><a href="/{{ database }}-{{ database_hash }}/{{ table|quote_plus }}/{{ row_link(row) }}">{{ row_link(row) }}</a></td>{% endif %}
{% for td in row %}
{% if not use_rowid or (use_rowid and not loop.first) %}
<td>{{ td or "&nbsp;" }}</td>
<td>{{ td or "&nbsp;"|safe }}</td>
{% endif %}
{% endfor %}
</tr>