diff --git a/django/views/debug.py b/django/views/debug.py
index 6efed55..58d0f0b 100644
a
|
b
|
TECHNICAL_500_TEMPLATE = """
|
409 | 409 | <body> |
410 | 410 | <div id="summary"> |
411 | 411 | <h1>{{ exception_type }} at {{ request.path_info|escape }}</h1> |
412 | | <pre class="exception_value">{{ exception_value|escape }}</pre> |
| 412 | <pre class="exception_value">{{ exception_value|force_escape }}</pre> |
413 | 413 | <table class="meta"> |
414 | 414 | <tr> |
415 | 415 | <th>Request Method:</th> |
… |
… |
TECHNICAL_500_TEMPLATE = """
|
425 | 425 | </tr> |
426 | 426 | <tr> |
427 | 427 | <th>Exception Value:</th> |
428 | | <td><pre>{{ exception_value|escape }}</pre></td> |
| 428 | <td><pre>{{ exception_value|force_escape }}</pre></td> |
429 | 429 | </tr> |
430 | 430 | <tr> |
431 | 431 | <th>Exception Location:</th> |
… |
… |
TECHNICAL_500_TEMPLATE = """
|
452 | 452 | {% if unicode_hint %} |
453 | 453 | <div id="unicode-hint"> |
454 | 454 | <h2>Unicode error hint</h2> |
455 | | <p>The string that could not be encoded/decoded was: <strong>{{ unicode_hint|escape }}</strong></p> |
| 455 | <p>The string that could not be encoded/decoded was: <strong>{{ unicode_hint|force_escape }}</strong></p> |
456 | 456 | </div> |
457 | 457 | {% endif %} |
458 | 458 | {% if template_does_not_exist %} |
… |
… |
TECHNICAL_500_TEMPLATE = """
|
525 | 525 | <tbody> |
526 | 526 | {% for var in frame.vars|dictsort:"0" %} |
527 | 527 | <tr> |
528 | | <td>{{ var.0|escape }}</td> |
529 | | <td class="code"><div>{{ var.1|pprint|escape }}</div></td> |
| 528 | <td>{{ var.0|force_escape }}</td> |
| 529 | <td class="code"><div>{{ var.1|pprint|force_escape }}</div></td> |
530 | 530 | </tr> |
531 | 531 | {% endfor %} |
532 | 532 | </tbody> |
… |
… |
Traceback:
|
575 | 575 | {% if frame.context_line %} {{ frame.lineno }}. {{ frame.context_line|escape }}{% endif %} |
576 | 576 | {% endfor %} |
577 | 577 | Exception Type: {{ exception_type|escape }} at {{ request.path_info|escape }} |
578 | | Exception Value: {{ exception_value|escape }} |
| 578 | Exception Value: {{ exception_value|force_escape }} |
579 | 579 | </textarea> |
580 | 580 | <br><br> |
581 | 581 | <input type="submit" value="Share this traceback on a public Web site"> |