1
0
mirror of https://github.com/moparisthebest/mail synced 2024-08-13 16:43:47 -04:00

only display plaintext emails

This commit is contained in:
Tankred Hase 2013-11-14 13:11:18 +01:00
parent 789c43d244
commit 4bb271c406

View File

@ -19,10 +19,7 @@
<div class="seperator-line"></div> <div class="seperator-line"></div>
<div class="body" ng-switch="state.mailList.selected.html === true"> <div class="body">
<!-- 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>
<!-- Render parts of a text only email in paragraphs for easier styling --> <!-- 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> <p ng-repeat="part in state.mailList.selected.bodyDisplayParts track by $index">{{part}}</p>
</div><!--/.body--> </div><!--/.body-->