mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-05 07:35:34 +08:00
ca95d03c5d
Summary: Fixes T2276 Since the new `QuotedHTMLParser` uses full HTML parsing, when you ask it for the version of the document without the quoted nodes, it returns a full html document. Unfortunately I forgot about the 2 <br> tags we manually generate when creating a reply to a message with quoted text. This is a pretty brittle solution, but considerably easier then checking if the contents really are "blank". We could check innerText, but would have to worry about img tags and other text-invisible-but-still-valid elements. Since we control the generation of the reply in the `DraftStore`, I think this is acceptable for now Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Maniphest Tasks: T2276 Differential Revision: https://phab.nylas.com/D1730 |
||
---|---|---|
.. | ||
account-sidebar | ||
attachments | ||
calendar-bar | ||
composer | ||
developer-bar | ||
file-list | ||
inbox-contact-elements | ||
message-list | ||
message-templates | ||
mode-switch | ||
notification-mailto | ||
notification-update-available | ||
notifications | ||
onboarding | ||
search-bar | ||
settings | ||
sidebar-fullcontact | ||
sidebar-inbox-internal | ||
thread-list | ||
today | ||
tooltip | ||
ui-dark | ||
ui-light | ||
unread-notifications |