mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 01:12:19 -05:00
only display plaintext emails
This commit is contained in:
parent
789c43d244
commit
4bb271c406
@ -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-->
|
||||
|
Loading…
Reference in New Issue
Block a user