A platform for community discussion. Free, open, simple.
FIX: Digest excerpt emoji (#39671)
Derek Rushforth92cdafe60eaa
diff --git a/lib/email/styles.rb b/lib/email/styles.rbindex 10be4f3505f..89f34680ac3 100644--- a/lib/email/styles.rb+++ b/lib/email/styles.rb@@ -339,7 +339,12 @@ module Emailplugin_stylesdark_mode_styles- style(".post-excerpt img", "max-width: 50%; max-height: #{MAX_IMAGE_DIMENSION}px;")+ style(+ ".post-excerpt img:not(.emoji)",+ "max-width: 50%; max-height: #{MAX_IMAGE_DIMENSION}px;",+ )++ style(".post-excerpt img.emoji", "max-height: 20px; vertical-align: middle;")format_customend