Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress rendering of binary data #442

Merged
merged 1 commit into from May 3, 2019

Conversation

Projects
None yet
2 participants
@russss
Copy link
Contributor

commented Apr 29, 2019

Binary columns (including spatialite geographies) get shown as ugly
binary strings in the HTML by default. Nobody wants to see that mess.

Show the size of the column in bytes instead. If you want to decode
the binary data, you can use a plugin to do it.

Suppress rendering of binary data
Binary columns (including spatialite geographies) get shown as ugly
binary strings in the HTML by default. Nobody wants to see that mess.

Show the size of the column in bytes instead. If you want to decode
the binary data, you can use a plugin to do it.
@simonw

This comment has been minimized.

Copy link
Owner

commented May 3, 2019

I'm going to merge this and add a unit test.

@simonw simonw merged commit d555baf into simonw:master May 3, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

simonw added a commit that referenced this pull request May 3, 2019

@russss russss deleted the russss:suppress-binary-columns branch May 3, 2019

@simonw

This comment has been minimized.

Copy link
Owner

commented May 3, 2019

Demo here: https://latest.datasette.io/fixtures/binary_data

I slightly tweaked the copy:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.