diff --git a/eosweb/core/tasks.py b/eosweb/core/tasks.py index 8cac44b..bec82d2 100644 --- a/eosweb/core/tasks.py +++ b/eosweb/core/tasks.py @@ -38,7 +38,7 @@ class WebTask(Task): css=css, text='

The task {} failed execution. The output was:

{}
'.format(self.label, '\n'.join(self.messages)) ) - html = premailer.Premailer(html).transform() + html = premailer.Premailer(html, strip_important=False).transform() body = flask.render_template( 'email/base.txt', diff --git a/eosweb/core/templates/email/base.html b/eosweb/core/templates/email/base.html index fc944fb..3e6f429 100644 --- a/eosweb/core/templates/email/base.html +++ b/eosweb/core/templates/email/base.html @@ -59,7 +59,7 @@
- Eos Voting for {{ eosweb.app.config['ORG_NAME'] }} + Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}
diff --git a/eosweb/core/templates/email/base.scss b/eosweb/core/templates/email/base.scss index f91377e..a55a748 100644 --- a/eosweb/core/templates/email/base.scss +++ b/eosweb/core/templates/email/base.scss @@ -115,7 +115,7 @@ table { } /* ------------------------------------- - TYPOGRAPHY + TYPOGRAPHY ------------------------------------- */ h1, h2, h3, h4 { @@ -258,6 +258,14 @@ hr { Margin: 20px 0; } +/* ------------------------------------- + MISCELLANEOUS +------------------------------------- */ + +pre { + white-space: pre-wrap; +} + /* ------------------------------------- RESPONSIVE AND MOBILE FRIENDLY STYLES ------------------------------------- */