From 186fcb318a87e6e89add597b8dc2d8443a765bc8 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 18 Oct 2013 17:01:52 +0200 Subject: Ensure the toolbar only outputs valid XML. This allows using it in websites served with the application/xml+xhtml mime type. Fix #221. --- debug_toolbar/templates/debug_toolbar/base.html | 6 +++--- debug_toolbar/templates/debug_toolbar/panels/sql.html | 6 +++--- debug_toolbar/utils/sql.py | 2 +- tests/tests.py | 7 +++++++ tests/views.py | 4 ++-- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index a790bd1..7b42c84 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -2,13 +2,13 @@ - +