mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-21 11:37:07 +00:00
Support down-converting of HTML to plain text
- Display a warning when text was generated from HTML - Add a semi complicated, responsive HTML email for future testing - Closes #20
This commit is contained in:
@@ -60,6 +60,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{if .isTextFromHTML}}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<strong>Notice:</strong> Message did not contain a plain text portion;
|
||||
the text below was converted from HTML automatically.
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<div class="message-body">{{.body}}</div>
|
||||
|
||||
{{with .attachments}}
|
||||
|
||||
Reference in New Issue
Block a user