From 414368b6ec0ed856752dce752afad140a03c97f6 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 11 Sep 2008 21:49:49 -0700 Subject: Patch submitted by Ned Batchelder to fix panel path slashes on Windows. --- debug_toolbar/templates/debug_toolbar/panels/templates.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug_toolbar') diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index 58904be..f9f03b5 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -12,8 +12,8 @@ {% if templates %}
{% for template in templates %} -
{{ template.0 }}
-
{{ template.1 }}
+
{{ template.0|addslashes }}
+
{{ template.1|addslashes }}
{% endfor %}
{% else %} -- cgit v1.2.3