diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 26395e1fd..688fd2310 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -171,10 +171,10 @@
-
HTTP {{ response.status_code }} {{ response.status_text }}{% autoescape off %}{% for key, val in response_headers|items %}
+ HTTP {{ response.status_code }} {{ response.status_text }}{% for key, val in response_headers|items %}
{{ key }}: {{ val|break_long_headers|urlize_quoted_links }}{% endfor %}
-{{ content|urlize_quoted_links }}
{% endautoescape %}
+{{ content|urlize_quoted_links }}