Skip to content

Commit

Permalink
cope with differences between markupsafe and legacy html escaping in …
Browse files Browse the repository at this point in the history
…mako for benefit of python 3.2, which does not run markupsafe
  • Loading branch information
mcdonc committed Jun 4, 2013
1 parent 82fb465 commit 38cc717
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyramid_debugtoolbar/templates/console.dbtmako
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="${static_path}css/debugger.css"
type="text/css">
<script type="text/javascript">
var TRACEBACK = ${traceback_id},
var TRACEBACK = ${str(traceback_id)},
CONSOLE_MODE = ${console},
DEBUGGER_TOKEN = "${token}",
EVALEX = ${evalex};
Expand Down
2 changes: 1 addition & 1 deletion pyramid_debugtoolbar/templates/exception.dbtmako
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="${static_path}css/debugger.css"
type="text/css">
<script type="text/javascript">
var TRACEBACK = ${traceback_id},
var TRACEBACK = ${str(traceback_id)},
DEBUGGER_TOKEN = "${token}",
CONSOLE_MODE = ${console},
EVALEX = ${evalex},
Expand Down
2 changes: 1 addition & 1 deletion pyramid_debugtoolbar/templates/redirect.dbtmako
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Redirect intercepted</title>
</head>
<body>
<h1>Redirect (${redirect_code})</h1>
<h1>Redirect (${str(redirect_code)})</h1>
<p>Location: <a href="${redirect_to}">${redirect_to}</a></p>
<p class="notice">

Expand Down

0 comments on commit 38cc717

Please sign in to comment.