only display plaintext emails

This commit is contained in:
Tankred Hase 2013-11-14 13:11:18 +01:00
parent 789c43d244
commit 4bb271c406
1 changed files with 1 additions and 4 deletions

View File

@ -19,10 +19,7 @@
<div class="seperator-line"></div>
<div class="body" ng-switch="state.mailList.selected.html === true">
<!-- sandbox untrusted markup from html emails in an iframe. The "allow-same-origin" attribute is required to dynamically adjust the height of the iframe. Script execution is not allowed. -->
<iframe ng-switch-when="true" sandbox="allow-same-origin" srcdoc="{{state.mailList.selected.body}}" seamless frame-load></iframe>
<div class="body">
<!-- Render parts of a text only email in paragraphs for easier styling -->
<p ng-repeat="part in state.mailList.selected.bodyDisplayParts track by $index">{{part}}</p>
</div><!--/.body-->