From 1f2b162d0adeba54843b23ccd92468ee46ab66ab Mon Sep 17 00:00:00 2001 From: Christine Spang Date: Wed, 14 Dec 2016 20:35:39 -0800 Subject: [PATCH] fix(rendering): Don't set a class on plaintext pre wrapping Our HTML sanitizer that we run bodies through before rendering strips off this class, so it's not currently working with the class set. Since this CSS is specific to the email frame, should be OK to have no class at all. --- static/email-frame.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/email-frame.less b/static/email-frame.less index 372aa6363..ecef61eb1 100644 --- a/static/email-frame.less +++ b/static/email-frame.less @@ -99,7 +99,7 @@ max-width: 100%; } - pre.nylas-plaintext { + pre { white-space: pre-wrap; word-wrap: break-word; }