diff --git a/datasette/templates/allow_debug.html b/datasette/templates/allow_debug.html index 0418153182..610417d25a 100644 --- a/datasette/templates/allow_debug.html +++ b/datasette/templates/allow_debug.html @@ -35,7 +35,7 @@

Debug allow rules

Use this tool to try out different actor and allow combinations. See Defining permissions with "allow" blocks for documentation.

-
+

diff --git a/datasette/templates/api_explorer.html b/datasette/templates/api_explorer.html index 109fb1e957..dc393c203e 100644 --- a/datasette/templates/api_explorer.html +++ b/datasette/templates/api_explorer.html @@ -19,7 +19,7 @@

API Explorer{% if private %} 🔒{% endif %}

GET - +
@@ -29,7 +29,7 @@

API Explorer{% if private %} 🔒{% endif %}

POST - +
diff --git a/datasette/templates/create_token.html b/datasette/templates/create_token.html index 2be98d38af..409fb8a93d 100644 --- a/datasette/templates/create_token.html +++ b/datasette/templates/create_token.html @@ -39,7 +39,7 @@

Create another token

{% endfor %} {% endif %} - +

diff --git a/datasette/templates/logout.html b/datasette/templates/logout.html index 4c4a7d116e..c8fc642ab1 100644 --- a/datasette/templates/logout.html +++ b/datasette/templates/logout.html @@ -8,7 +8,7 @@

Log out

You are logged in as {{ display_actor(actor) }}

- +
diff --git a/datasette/templates/messages_debug.html b/datasette/templates/messages_debug.html index e0ab9a40db..2940cd6982 100644 --- a/datasette/templates/messages_debug.html +++ b/datasette/templates/messages_debug.html @@ -8,7 +8,7 @@

Debug messages

Set a message:

- +
diff --git a/datasette/templates/permissions_debug.html b/datasette/templates/permissions_debug.html index 5a5c1aa6d3..838911812c 100644 --- a/datasette/templates/permissions_debug.html +++ b/datasette/templates/permissions_debug.html @@ -47,7 +47,7 @@

Permission check testing tool

This tool lets you simulate an actor and a permission check for that actor.

- +

diff --git a/datasette/templates/query.html b/datasette/templates/query.html index f7c8d0a3f7..a6e9a3aa52 100644 --- a/datasette/templates/query.html +++ b/datasette/templates/query.html @@ -36,7 +36,7 @@

{{ {% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %} - +

Custom SQL query{% if display_rows %} returning {% if truncated %}more than {% endif %}{{ "{:,}".format(display_rows|length) }} row{% if display_rows|length == 1 %}{% else %}s{% endif %}{% endif %}{% if not query_error %} ({{ show_hide_text }}) {% endif %}

diff --git a/datasette/templates/table.html b/datasette/templates/table.html index 7246ff5d43..c9e0e87b7b 100644 --- a/datasette/templates/table.html +++ b/datasette/templates/table.html @@ -48,7 +48,7 @@

{% endif %} - + {% if supports_search %}
{% endif %} @@ -152,7 +152,7 @@

Advanced export

object {% endif %}

- +

CSV options: diff --git a/tests/test_permissions.py b/tests/test_permissions.py index 0e9cd15b0a..31ba104b22 100644 --- a/tests/test_permissions.py +++ b/tests/test_permissions.py @@ -268,7 +268,7 @@ def test_view_query(allow, expected_anon, expected_auth): def test_execute_sql(config): schema_re = re.compile("const schema = ({.*?});", re.DOTALL) with make_app_client(config=config) as client: - form_fragment = '