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


Meetup
Axel Rauschmayer
Axel Rauschmayer
Organizer
Good to see you
Béla Varga
Béla Varga
Co-Organizer
Good to see you
Alexander Schmidt
Alexander Schmidt
Good to see you
Amer Alimanovic
Amer Alimanovic
Good to see you
Ankit Bahuguna
Ankit Bahuguna
Good to see you
See all 91 people
Couldn't go? Click here.

Unsubscribe from similar emails from this Meetup Group

Add info@meetup.com to your address book to receive all Meetup emails

Meetup, POB 4668 #37895 NY NY USA 10163

Meetup HQ in NYC is hiring!meetup.com/jobs


'; 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