Fixed   bug

  was showing for all None values in table cells, thanks to the
autoescaping change introduced in 82261a638b
pull/107/head^2
Simon Willison 2017-11-16 07:29:52 -08:00
rodzic 228bce83a3
commit 01e0c3fa18
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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>