mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
white-space: pre-wrap for table SQL, closes #505
This commit is contained in:
parent
f80ff9b07b
commit
787dd427de
2 changed files with 6 additions and 2 deletions
|
|
@ -184,11 +184,11 @@
|
|||
{% endif %}
|
||||
|
||||
{% if table_definition %}
|
||||
<pre>{{ table_definition }}</pre>
|
||||
<pre class="wrapped-sql">{{ table_definition }}</pre>
|
||||
{% endif %}
|
||||
|
||||
{% if view_definition %}
|
||||
<pre>{{ view_definition }}</pre>
|
||||
<pre class="wrapped-sql">{{ view_definition }}</pre>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue