diff --git a/django/contrib/comments/templates/comments/approve.html b/django/contrib/comments/templates/comments/approve.html index 18157b77f99..1f1d1f40906 100644 --- a/django/contrib/comments/templates/comments/approve.html +++ b/django/contrib/comments/templates/comments/approve.html @@ -4,11 +4,11 @@ {% block content %}

Really make this comment public?

-
{{ comment|escape|linebreaks }}
+
{{ comment|linebreaks }}
- +

or cancel

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/django/contrib/comments/templates/comments/delete.html b/django/contrib/comments/templates/comments/delete.html index 6486951a07f..eb5406eee53 100644 --- a/django/contrib/comments/templates/comments/delete.html +++ b/django/contrib/comments/templates/comments/delete.html @@ -4,11 +4,11 @@ {% block content %}

Really remove this comment?

-
{{ comment|escape|linebreaks }}
+
{{ comment|linebreaks }}
- +

or cancel

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/django/contrib/comments/templates/comments/flag.html b/django/contrib/comments/templates/comments/flag.html index b6090e63c3d..2a65ab379ce 100644 --- a/django/contrib/comments/templates/comments/flag.html +++ b/django/contrib/comments/templates/comments/flag.html @@ -4,11 +4,11 @@ {% block content %}

Really flag this comment?

-
{{ comment|escape|linebreaks }}
+
{{ comment|linebreaks }}
- +

or cancel

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/django/contrib/comments/templates/comments/moderation_queue.html b/django/contrib/comments/templates/comments/moderation_queue.html index b5519dfab1d..2a45757e6e4 100644 --- a/django/contrib/comments/templates/comments/moderation_queue.html +++ b/django/contrib/comments/templates/comments/moderation_queue.html @@ -53,17 +53,17 @@ - {{ comment.name|escape }} - {{ comment.comment|truncatewords:"50"|escape }} - {{ comment.email|escape }} - {{ comment.url|escape }} + {{ comment.name }} + {{ comment.comment|truncatewords:"50" }} + {{ comment.email }} + {{ comment.url }} {% if comment.user %}yes{% else %}no{% endif %} - {{ comment.ip_address|escape }} + {{ comment.ip_address }} {{ comment.submit_date|date:"F j, P" }} {% endfor %} diff --git a/django/contrib/comments/templates/comments/preview.html b/django/contrib/comments/templates/comments/preview.html index 50ed6d6fce6..fd2571335a2 100644 --- a/django/contrib/comments/templates/comments/preview.html +++ b/django/contrib/comments/templates/comments/preview.html @@ -9,7 +9,7 @@

Please correct the error{{ form.errors|pluralize }} below

{% else %}

Preview your comment

-
{{ comment|escape|linebreaks }}
+
{{ comment|linebreaks }}

and or make changes:

@@ -31,4 +31,4 @@

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/django/contrib/comments/templates/comments/reply_preview.html b/django/contrib/comments/templates/comments/reply_preview.html index b566110bcb0..fd2571335a2 100644 --- a/django/contrib/comments/templates/comments/reply_preview.html +++ b/django/contrib/comments/templates/comments/reply_preview.html @@ -9,7 +9,7 @@

Please correct the error{{ form.errors|pluralize }} below

{% else %}

Preview your comment

-
{{ comment|escape|linebreaks }}
+
{{ comment|linebreaks }}

and or make changes: