aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
authorChris Adams2010-10-20 12:00:49 -0400
committerRob Hudson2010-10-20 10:00:33 -0700
commitd83df7141239a2ca6f43f0b96c91919641e36f3f (patch)
tree10fca426282f28dc97ba1043d25c14c7e8b27100 /debug_toolbar
parent081198a8cb54766935f148476430a815a792a479 (diff)
downloaddjango-debug-toolbar-d83df7141239a2ca6f43f0b96c91919641e36f3f.tar.bz2
HTML Validation fixes
It turns out that <script … charset="utf-8">inline script</script> is not valid (charset is valid with script src). This avoids debug_toolbar causing HTML validation errors simply by being active. Signed-off-by: Rob Hudson <rob@cogit8.org>
Diffstat (limited to 'debug_toolbar')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index c97ca2e..7f7a535 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,5 +1,5 @@
{% load i18n %}
-<script type="text/javascript" charset="utf-8">
+<script type="text/javascript">
// <![CDATA[
var DEBUG_TOOLBAR_MEDIA_URL = "{{ DEBUG_TOOLBAR_MEDIA_URL }}";
// ]]>