diff --git a/analytics/templates/insight_info_message_prediction.mustache b/analytics/templates/insight_info_message_prediction.mustache
index d6b2f09b877..6e66e8a23dd 100644
--- a/analytics/templates/insight_info_message_prediction.mustache
+++ b/analytics/templates/insight_info_message_prediction.mustache
@@ -38,9 +38,7 @@
{{> core_analytics/notification_styles}}
{{#body}}
-
- {{{.}}}
-
+ {{{.}}}
{{/body}}
diff --git a/analytics/templates/notification_styles.mustache b/analytics/templates/notification_styles.mustache
index a942177b3de..527db085021 100644
--- a/analytics/templates/notification_styles.mustache
+++ b/analytics/templates/notification_styles.mustache
@@ -32,11 +32,16 @@
}
}}
-
+
diff --git a/user/templates/upcoming_activities_due_insight_body.mustache b/user/templates/upcoming_activities_due_insight_body.mustache
index eb4fd02100d..5dfe3f4cfea 100644
--- a/user/templates/upcoming_activities_due_insight_body.mustache
+++ b/user/templates/upcoming_activities_due_insight_body.mustache
@@ -37,56 +37,61 @@
}
}}
-
+
-{{#str}} youhaveupcomingactivitiesdueinfo, moodle, {{userfirstname}} {{/str}}
-
+
+ {{#str}} youhaveupcomingactivitiesdueinfo, moodle, {{userfirstname}} {{/str}}
+
-{{#activitiesdue}}
-
-
-
- |
- {{#icon}}
- {{#pix}} {{key}}, {{component}}, {{title}} {{alttext}} {{/pix}}
- {{/icon}}
- {{name}}
- |
-
-
-
-
- | {{#str}} whendate, calendar, {{formattedtime}} {{/str}} |
-
-
- | {{#str}} coursetitle, moodle, {"course": "{{coursename}}" } {{/str}} |
-
-
- | {{#str}} gotoactivity, calendar{{/str}} |
-
-
-
-{{/activitiesdue}}
\ No newline at end of file
+ {{#activitiesdue}}
+
+
+
+ |
+ {{#icon}}
+ {{#pix}} {{key}}, {{component}}, {{title}} {{alttext}} {{/pix}}
+ {{/icon}}
+ {{name}}
+ |
+
+
+
+
+ | {{#str}} whendate, calendar, {{formattedtime}} {{/str}} |
+
+
+ | {{#str}} coursetitle, moodle, {"course": "{{coursename}}" } {{/str}} |
+
+
+ | {{#str}} gotoactivity, calendar{{/str}} |
+
+
+
+ {{/activitiesdue}}
+