mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-24 17:26:06 +08:00
8a54cd95f0
Summary: Fixes T1731 Chrome by default on a user-agent stylesheet sets white-space to `pre`. For `pre` elements. This is useful in most cases since whitespace is taken literally. Unfortunately when people send out emails with code in them, the `pre` blocks can get mangled because there may be unnecessary whitespace in them. I personally think the default behavior is much better, however, I think we should have `pre` blocks render with `white-space: normal` because anyone who's sending an email with code it in will probably use <span> and <br> and inline styles to ensure it looks correct on most readers. Since many places (like Outlook) strip whitespace out of HTML, I think we should mimic that behavior too. Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Maniphest Tasks: T1731 Differential Revision: https://phab.nylas.com/D1561 |
||
---|---|---|
.. | ||
account-sidebar | ||
attachments | ||
calendar-bar | ||
composer | ||
developer-bar | ||
file-list | ||
inbox-contact-elements | ||
light-ui | ||
message-list | ||
message-templates | ||
mode-switch | ||
notification-mailto | ||
notification-update-available | ||
notifications | ||
onboarding | ||
search-bar | ||
sidebar-fullcontact | ||
sidebar-inbox-internal | ||
thread-list | ||
today | ||
tooltip | ||
unread-badge | ||
unread-notifications |