We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24afa7 commit dc05f85Copy full SHA for dc05f85
debug_toolbar/panels/templates/views.py
@@ -57,7 +57,7 @@ def template_source(request):
57
source = format_html("<code>{}</code>", source)
58
else:
59
source = highlight(source, HtmlDjangoLexer(), HtmlFormatter())
60
- source = mark_safe(source)
+ source = mark_safe(f"<code>{source}</code>")
61
62
content = render_to_string(
63
"debug_toolbar/panels/template_source.html",
0 commit comments