Escape result in ?/debug/sql
This commit is contained in:
parent
cadf276891
commit
db1b50cfc3
@ -10,17 +10,17 @@
|
|||||||
<table class="modlog">
|
<table class="modlog">
|
||||||
<tr>
|
<tr>
|
||||||
{% for key in keys %}
|
{% for key in keys %}
|
||||||
<th>{{ key }}</th>
|
<th>{{ key | e }}</th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% for row in result %}
|
{% for row in result %}
|
||||||
<tr>
|
<tr>
|
||||||
{% for col in row %}
|
{% for col in row %}
|
||||||
<td>{{ col }}</td>
|
<td>{{ col | e }}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% elseif error %}
|
{% elseif error %}
|
||||||
<p style="text-align:center;color:#d00">{{ error }}</p>
|
<p style="text-align:center;color:#d00">{{ error | e }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user