Skip to content

Commit

Permalink
Fixed   bug
Browse files Browse the repository at this point in the history
  was showing for all None values in table cells, thanks to the
autoescaping change introduced in 82261a6
  • Loading branch information
Simon Willison committed Nov 16, 2017
1 parent 228bce8 commit 01e0c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasette/templates/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>{{ "{:,}".format(table_rows) }} total row{% if table_rows == 1 %}{% else %}s
{% 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>
Expand Down

0 comments on commit 01e0c3f

Please sign in to comment.