From 5cc93500e88794342adcc738fd4d7bb6f40330c6 Mon Sep 17 00:00:00 2001
From: Adrian Holovaty
and or make changes:
Really make this comment public?
- {{ comment|escape|linebreaks }}
+ {{ comment|linebreaks }}
-{% 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 6486951a07..eb5406eee5 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 }}
-{% 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 b6090e63c3..2a65ab379c 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 }}
-{% 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 b5519dfab1..2a45757e6e 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 }}
-
{{ 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 50ed6d6fce..fd2571335a 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 }}
{{ comment|escape|linebreaks }}+
{{ comment|linebreaks }}
and or make changes: