diff --git a/esp/templates/admin/emails.html b/esp/templates/admin/emails.html
index 1ca30fee76..3228fe6685 100644
--- a/esp/templates/admin/emails.html
+++ b/esp/templates/admin/emails.html
@@ -75,9 +75,9 @@
{{ req.num_sent }} |
- {% autoescape off %}
- | {{ req.msgtext }} |
- {% endautoescape %}
+
+
+ |
Sent by: {{ req.creator }} |
Sending address: {{ req.sender }} |
@@ -96,7 +96,10 @@
$j(function() {
$j("tr.email-header").click(function(event) {
var $target = $j(event.target).parent("tr.email-header");
- $target.next("tr").toggle();
+ var $row = $target.next("tr");
+ $row.toggle();
+ var iframe = $row.find("iframe")[0];
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 16 + 'px';
if ($target.find("td:first").html() == "+") {
$target.find("td:first").html("-");
} else {
diff --git a/esp/templates/program/modules/commmodule/preview.html b/esp/templates/program/modules/commmodule/preview.html
index 321fced529..43497459be 100644
--- a/esp/templates/program/modules/commmodule/preview.html
+++ b/esp/templates/program/modules/commmodule/preview.html
@@ -60,9 +60,7 @@ Preview
Email body:
-{% autoescape off %}
- {{ rendered_text }}
-{% endautoescape %}
+
@@ -97,4 +95,14 @@ Preview
+
+
{% endblock %}
diff --git a/esp/templates/public_email.html b/esp/templates/public_email.html
index 6fd5df5872..e853c979cd 100644
--- a/esp/templates/public_email.html
+++ b/esp/templates/public_email.html
@@ -25,12 +25,19 @@ Email Public View
Subject: {{ email_req.subject }}
Send Date: {{ email_req.created_at|date:"DATE_FORMAT" }}
-Message Text:
-{% autoescape off %}
+Message Body:
- {{ email_req.msgtext }}
+
-{% endautoescape %}
-
+
+
{% endblock %}
|