Expose current SQLite row to render_cell hook, closes #1300

This commit is contained in:
Simon Willison 2022-07-07 09:30:49 -07:00
commit 6373bb3414
6 changed files with 14 additions and 7 deletions

View file

@ -60,7 +60,7 @@ def publish_subcommand(publish):
@hookspec
def render_cell(value, column, table, database, datasette):
def render_cell(row, value, column, table, database, datasette):
"""Customize rendering of HTML table cell values"""