Is there any reason NOT to apply white-space: pre-wrap to the contents of all table cells in Datasette?
The default display mechanism of HTML (stripping leading/trailing slashes and collapsing all other whitespace) doesn't really make sense for displaying the kind of data that Datasette works with.