diff --git a/src/js/controller/mail-list.js b/src/js/controller/mail-list.js
index b386e9e..08ce610 100644
--- a/src/js/controller/mail-list.js
+++ b/src/js/controller/mail-list.js
@@ -418,7 +418,7 @@ define(function(require) {
'>> from 0.7.0.1\n' +
'>>\n' +
'>> God speed!'; // plaintext body
- this.html = '
HTML content
';
+ this.html = '---------- Forwarded message ----------
From:
MunichJS User Group <info@meetup.com>Date: Thu, May 8, 2014 at 11:10 PM
Subject: Stay in touch!
To:
mail@john.com | Axel Rauschmayer Organizer |
';
this.encrypted = true;
this.decrypted = true;
};
diff --git a/src/js/controller/read.js b/src/js/controller/read.js
index 6dc3258..da9e6dd 100644
--- a/src/js/controller/read.js
+++ b/src/js/controller/read.js
@@ -336,7 +336,10 @@ define(function(require) {
scope.html = undefined;
if (value) {
$timeout(function() {
- scope.html = $sce.trustAsHtml(value);
+ // wrap in html doc with scrollable html tag, since chrome apps does not scroll by default
+ var prefix = '';
+ var suffix = '';
+ scope.html = $sce.trustAsHtml(prefix + value + suffix);
});
}
});
@@ -353,4 +356,4 @@ define(function(require) {
});
return ReadCtrl;
-});
+});
\ No newline at end of file